<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ShipCAD: ShipCADlib/controller.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ShipCAD
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_f0b6ef187c5b1483641b038f81654ac4.html">ShipCADlib</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">controller.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="controller_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*##############################################################################################</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> *    ShipCAD                                                                                  *</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *    Copyright 2015, by Greg Green &lt;ggreen@bit-builder.com&gt;                                   *</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *    Original Copyright header below                                                          *</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *                                                                                             *</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> *    This code is distributed as part of the FREE!ship project. FREE!ship is an               *</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *    open source surface-modelling program based on subdivision surfaces and intended for     *</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *    designing ships.                                                                         *</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *                                                                                             *</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *    Copyright © 2005, by Martijn van Engeland                                                *</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> *    e-mail                  : Info@FREEship.org                                              *</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *    FREE!ship project page  : https://sourceforge.net/projects/freeship                      *</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *    FREE!ship homepage      : www.FREEship.org                                               *</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> *                                                                                             *</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> *    This program is free software; you can redistribute it and/or modify it under            *</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> *    the terms of the GNU General Public License as published by the                          *</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *    Free Software Foundation; either version 2 of the License, or (at your option)           *</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *    any later version.                                                                       *</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> *                                                                                             *</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> *    This program is distributed in the hope that it will be useful, but WITHOUT ANY          *</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> *    WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A          *</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> *    PARTICULAR PURPOSE. See the GNU General Public License for more details.                 *</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> *                                                                                             *</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> *    You should have received a copy of the GNU General Public License along with             *</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> *    this program; if not, write to the Free Software Foundation, Inc.,                       *</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> *    59 Temple Place, Suite 330, Boston, MA 02111-1307 USA                                    *</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> *                                                                                             *</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> *#############################################################################################*/</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#include &lt;iostream&gt;</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#include &lt;QCoreApplication&gt;</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#include &lt;QFile&gt;</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#include &lt;QFileInfo&gt;</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#include &lt;QColorDialog&gt;</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="controller_8h.html">controller.h</a>&quot;</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="shipcadmodel_8h.html">shipcadmodel.h</a>&quot;</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="utility_8h.html">utility.h</a>&quot;</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="undoobject_8h.html">undoobject.h</a>&quot;</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="subdivpoint_8h.html">subdivpoint.h</a>&quot;</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="subdivedge_8h.html">subdivedge.h</a>&quot;</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="viewport_8h.html">viewport.h</a>&quot;</span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="viewportview_8h.html">viewportview.h</a>&quot;</span></div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="subdivlayer_8h.html">subdivlayer.h</a>&quot;</span></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="subdivface_8h.html">subdivface.h</a>&quot;</span></div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="exception_8h.html">exception.h</a>&quot;</span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="keyword">using namespace </span><a class="code" href="namespaceShipCAD.html">ShipCAD</a>;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="keyword">using namespace </span><a class="code" href="namespacestd.html">std</a>;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a969bc231a8d15189a717acbca9146deb">   51</a></span>&#160;<a class="code" href="classShipCAD_1_1Controller.html#a969bc231a8d15189a717acbca9146deb">Controller::Controller</a>(<a class="code" href="classShipCAD_1_1ShipCADModel.html">ShipCADModel</a>* model)</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    : _model(model), _point_first_moved(false)</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;{</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    <span class="comment">// initialize settings</span></div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    QCoreApplication::setOrganizationName(<span class="stringliteral">&quot;bit-builder&quot;</span>);</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    QCoreApplication::setOrganizationDomain(<span class="stringliteral">&quot;bit-builder.com&quot;</span>);</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    QCoreApplication::setApplicationName(<span class="stringliteral">&quot;ShipCAD&quot;</span>);</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    </div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <span class="comment">// setup signals and slots</span></div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    connect(_model, SIGNAL(undoDataChanged()), SIGNAL(<a class="code" href="classShipCAD_1_1Controller.html#ade17d53952bf5a977dfec2e68f4fffb9">updateUndoData</a>()));</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;}</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#ae09ac41e86659fab53e236f27f2ca761">   63</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1Controller.html#ae09ac41e86659fab53e236f27f2ca761">Controller::shootPickRay</a>(<a class="code" href="classShipCAD_1_1Viewport.html">Viewport</a>&amp; vp, <span class="keyword">const</span> <a class="code" href="structShipCAD_1_1PickRay.html">PickRay</a>&amp; ray)</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;{</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    <span class="keywordtype">bool</span> element_sel = <span class="keyword">false</span>;</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionBase.html">SubdivisionBase</a>* pick = <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#aee7768d40a54b2d22cf604dedeec4bbc">shootPickRay</a>(vp, ray);</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <span class="keywordflow">if</span> (pick != <span class="keyword">nullptr</span>) {</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;        <span class="keywordflow">if</span> (!ray.<a class="code" href="structShipCAD_1_1PickRay.html#a5b5dbf3de2afc804978a5e35ac582028">multi_sel</a>)</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;            <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a2a984cc9ae8c78153113552cfb6321d5">clearSelection</a>();</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        <span class="comment">// is this a point?</span></div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;        <a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html">SubdivisionControlPoint</a>* cp = <span class="keyword">dynamic_cast&lt;</span><a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html">SubdivisionControlPoint</a>*<span class="keyword">&gt;</span>(pick);</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;        <span class="keywordflow">if</span> (cp != <span class="keyword">nullptr</span>) {</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;            cp-&gt;<a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html#a5642f57c7f17e78c27ad6edb0fdb7f65">setSelected</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;            <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a523a7e9948d95a71e9008d386daeafee">setActiveControlPoint</a>(cp);</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;            element_sel = <span class="keyword">true</span>;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;            cout &lt;&lt; <span class="stringliteral">&quot;control point selected:&quot;</span> &lt;&lt; hex &lt;&lt; cp &lt;&lt; dec &lt;&lt; endl;</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;            emit <a class="code" href="classShipCAD_1_1Controller.html#a24cda66f9ccc1c9bc24f8885bcf97255">showControlPointDialog</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;            emit <a class="code" href="classShipCAD_1_1Controller.html#a35f446710a96c227f1794eacaef7ba6a">updateControlPointValue</a>(cp);</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;        } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;            <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a523a7e9948d95a71e9008d386daeafee">setActiveControlPoint</a>(<span class="keyword">nullptr</span>);</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;            emit <a class="code" href="classShipCAD_1_1Controller.html#a24cda66f9ccc1c9bc24f8885bcf97255">showControlPointDialog</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;            <span class="comment">// is this an edge?</span></div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;            <a class="code" href="classShipCAD_1_1SubdivisionControlEdge.html">SubdivisionControlEdge</a>* edge = <span class="keyword">dynamic_cast&lt;</span><a class="code" href="classShipCAD_1_1SubdivisionControlEdge.html">SubdivisionControlEdge</a>*<span class="keyword">&gt;</span>(pick);</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;            <span class="keywordflow">if</span> (edge != <span class="keyword">nullptr</span>) {</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;                edge-&gt;<a class="code" href="classShipCAD_1_1SubdivisionControlEdge.html#ae247e08eec97952d1835df03c8269829">setSelected</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;                element_sel = <span class="keyword">true</span>;</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;                cout &lt;&lt; <span class="stringliteral">&quot;control edge selected:&quot;</span> &lt;&lt; hex &lt;&lt; edge &lt;&lt; dec &lt;&lt; endl;</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;            }</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;            <span class="comment">// is this a face?</span></div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;            <a class="code" href="classShipCAD_1_1SubdivisionControlFace.html">SubdivisionControlFace</a>* face = <span class="keyword">dynamic_cast&lt;</span><a class="code" href="classShipCAD_1_1SubdivisionControlFace.html">SubdivisionControlFace</a>*<span class="keyword">&gt;</span>(pick);</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;            <span class="keywordflow">if</span> (!element_sel &amp;&amp; face != <span class="keyword">nullptr</span>) {</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;                face-&gt;<a class="code" href="classShipCAD_1_1SubdivisionControlFace.html#a2ce580378cd200faec6a24d9d794c68e">setSelected</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;                element_sel = <span class="keyword">true</span>;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;                cout &lt;&lt; <span class="stringliteral">&quot;control face selected:&quot;</span> &lt;&lt; hex &lt;&lt; face &lt;&lt; dec &lt;&lt; endl;</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;            }</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;        }</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    }</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    <span class="keywordflow">if</span> (element_sel) {</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    }</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    <span class="keywordflow">return</span> element_sel;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;}</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;</div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a766535d7bc29bf81b3b75808be19a0d0">  105</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a766535d7bc29bf81b3b75808be19a0d0">Controller::deleteBackgroundImage</a>()</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;{</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;}</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#af1267c2c5892ba0a6f34414e241f00ea">  110</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#af1267c2c5892ba0a6f34414e241f00ea">Controller::openBackgroundImage</a>()</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;{</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;}</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<span class="comment">// FreeShipUnit.pas:4632</span></div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#acab9a8ee41a93303233c2cb70afa6cc1">  116</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#acab9a8ee41a93303233c2cb70afa6cc1">Controller::addCurve</a>()</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;{</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::addCurve&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    vector&lt;SubdivisionControlEdge*&gt; edges;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionSurface.html">SubdivisionSurface</a>* surf = <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>();</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    </div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    set&lt;SubdivisionControlEdge*&gt;&amp; list = surf-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#ae6b7b4127e9c43273fcbf0cdeb88470d">getSelControlEdgeCollection</a>();</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    <span class="keywordflow">for</span> (set&lt;SubdivisionControlEdge*&gt;::iterator i=list.begin(); i!=list.end(); ++i) {</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        <span class="keywordflow">if</span> ((*i)-&gt;getCurve() == 0)</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;            edges.push_back(*i);</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;    }</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;    <span class="keywordflow">if</span> (edges.size() == 0)</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;    <span class="comment">// msg 0072</span></div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;new controlcurve&quot;</span>), <span class="keyword">true</span>);</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    surf-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#ac26190e7d9525c0e93ddef2479966800">addControlCurves</a>(edges);</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;    list.clear();</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a2c3339b26ab0856a66720e370523d80c">showControlCurves</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;}</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;<span class="comment">// FreeShipUnit.pas:4697</span></div><div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a31ded45e333650203b2bee587e55a7ed">  139</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a31ded45e333650203b2bee587e55a7ed">Controller::collapseEdges</a>()</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;{</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::collapseEdges&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;    <span class="keywordtype">size_t</span> n = 0;</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;    <span class="comment">// msg 0073</span></div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;    <a class="code" href="classShipCAD_1_1UndoObject.html">UndoObject</a>* uo = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;edge collapse&quot;</span>), <span class="keyword">false</span>);</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;    set&lt;SubdivisionControlEdge*&gt;&amp; list = <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#ae6b7b4127e9c43273fcbf0cdeb88470d">getSelControlEdgeCollection</a>();</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;    <span class="keywordflow">for</span> (set&lt;SubdivisionControlEdge*&gt;::iterator i=list.begin(); i!=list.end(); ++i) {</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;        <span class="keywordflow">if</span> ((*i)-&gt;numberOfFaces() &gt; 1) {</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;            <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#acb0b35c10fe6ab3c348f8435a1ca844d">collapseEdge</a>(*i);</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;            n++;</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;        }</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    }</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    list.clear();</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    <span class="keywordflow">if</span> (n &gt; 0) {</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;        uo-&gt;<a class="code" href="classShipCAD_1_1UndoObject.html#a93bad349f284a0ff1cece56aa931f9e3">accept</a>();</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ab221977f2a8bd4d51d6ee777be0d7b8a">setBuild</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;    }</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;    <span class="keywordflow">else</span> {</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;        <span class="keyword">delete</span> uo;</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ae28eabc4c698e3bc8732a004d2ab4034">changeSelectedItems</a>();</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;    }</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;}</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="comment">// FreeShipUnit.pas:4724</span></div><div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a8713ccaf7dccce2284dd86c9b7aa9bc0">  166</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a8713ccaf7dccce2284dd86c9b7aa9bc0">Controller::connectEdges</a>()</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;{</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::connectEdges&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;numberOfSelectedControlPoints() &lt; 2)</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;    <span class="comment">// msg 0074</span></div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;    <a class="code" href="classShipCAD_1_1UndoObject.html">UndoObject</a>* uo = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;new edge&quot;</span>), <span class="keyword">false</span>);</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;edgeConnect()) {</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;        uo-&gt;<a class="code" href="classShipCAD_1_1UndoObject.html#a93bad349f284a0ff1cece56aa931f9e3">accept</a>();</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ab221977f2a8bd4d51d6ee777be0d7b8a">setBuild</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;        <span class="comment">// msg 0202</span></div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a108f5d44546cab9a8e58a7e8d187a68e">displayWarningDialog</a>(tr(<span class="stringliteral">&quot;Edge already exists&quot;</span>));</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;        <span class="keyword">delete</span> uo;</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;    }</div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;}</div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;</div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;<span class="comment">// FreeShipUnit.pas:4742</span></div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a8fbe457b09df7d49442f58c97b2c50f3">  186</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a8fbe457b09df7d49442f58c97b2c50f3">Controller::creaseEdges</a>()</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;{</div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::creaseEdges&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;    <span class="comment">// msg 0075</span></div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;set crease edges&quot;</span>), <span class="keyword">true</span>);</div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;    set&lt;SubdivisionControlEdge*&gt;&amp; list = <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#ae6b7b4127e9c43273fcbf0cdeb88470d">getSelControlEdgeCollection</a>();</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;    <span class="keywordflow">for</span> (set&lt;SubdivisionControlEdge*&gt;::iterator i=list.begin(); i!=list.end(); ++i) {</div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;        (*i)-&gt;setCrease(!(*i)-&gt;isCrease());</div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;    }</div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ab221977f2a8bd4d51d6ee777be0d7b8a">setBuild</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;}</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;<span class="comment">// FreeShipUnit.pas:4753</span></div><div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#ab3698ec4918b622cba53a33f96c57e73">  201</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#ab3698ec4918b622cba53a33f96c57e73">Controller::extrudeEdges</a>()</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;{</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::extrudeEdges&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;    <a class="code" href="structShipCAD_1_1ExtrudeEdgeDialogData.html">ExtrudeEdgeDialogData</a> data;</div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#a993a7855df28b5b0e8ee0e49b94e49d7">exeExtrudeEdgeDialog</a>(data);</div><div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;    <span class="keywordflow">if</span> (!data.<a class="code" href="structShipCAD_1_1ExtrudeEdgeDialogData.html#acacc5c53abda4c79c30f52d96de6d1f9">accepted</a>)</div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;    <span class="comment">// msg 0076</span></div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;    <a class="code" href="classShipCAD_1_1UndoObject.html">UndoObject</a>* uo = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;edge extrusion&quot;</span>), <span class="keyword">false</span>);</div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;    <span class="comment">// assemble edges in a list</span></div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;    set&lt;SubdivisionControlEdge*&gt;&amp; list = <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#ae6b7b4127e9c43273fcbf0cdeb88470d">getSelControlEdgeCollection</a>();</div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;    <span class="comment">// only boundary edges are allowed</span></div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;    vector&lt;SubdivisionControlEdge*&gt; actinglist;</div><div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;    <span class="keywordflow">for</span> (set&lt;SubdivisionControlEdge*&gt;::iterator i=list.begin(); i!=list.end(); ++i) {</div><div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;        <span class="keywordflow">if</span> ((*i)-&gt;numberOfFaces() == 1)</div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;            actinglist.push_back(*i);</div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;    }</div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;    <span class="comment">// clear selected edges</span></div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;    list.clear();</div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;    <span class="keywordflow">if</span> (actinglist.size() &gt; 0) {</div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#ac19570e1402deab738d2231d6bec9650">extrudeEdges</a>(actinglist, data.<a class="code" href="structShipCAD_1_1ExtrudeEdgeDialogData.html#aa1841a8d73ac4887e46f3f2d0712770c">vector</a>);</div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;        <span class="comment">// new edges are returned in the list, select them</span></div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;        <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=0; i&lt;actinglist.size(); i++) {</div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;            actinglist[i]-&gt;setSelected(<span class="keyword">true</span>);</div><div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;        }</div><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;        uo-&gt;<a class="code" href="classShipCAD_1_1UndoObject.html#a93bad349f284a0ff1cece56aa931f9e3">accept</a>();</div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ab221977f2a8bd4d51d6ee777be0d7b8a">setBuild</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;    } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;        <span class="comment">// msg 0077</span></div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#a108f5d44546cab9a8e58a7e8d187a68e">displayWarningDialog</a>(tr(<span class="stringliteral">&quot;Only boundary edges can be extruded!&quot;</span>));</div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;        <span class="keyword">delete</span> uo;</div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;    }</div><div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;}</div><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;</div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;<span class="comment">// FreeShipUnit.pas:4808</span></div><div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a0737f31baec832fa23070d3d2accce20">  238</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a0737f31baec832fa23070d3d2accce20">Controller::splitEdges</a>()</div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;{</div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::splitEdges&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;    <span class="comment">// msg 0078</span></div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;    <a class="code" href="classShipCAD_1_1UndoObject.html">UndoObject</a>* uo = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;edge split&quot;</span>), <span class="keyword">false</span>);</div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html">SubdivisionControlPoint</a>* last = 0;</div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;    set&lt;SubdivisionControlEdge*&gt;&amp; list = <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#ae6b7b4127e9c43273fcbf0cdeb88470d">getSelControlEdgeCollection</a>();</div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;    <span class="keywordtype">size_t</span> n = 0;</div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;    <span class="keywordflow">for</span> (set&lt;SubdivisionControlEdge*&gt;::iterator i=list.begin(); i!=list.end(); ++i) {</div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;        <span class="keyword">const</span> QVector3D&amp; p1 = (*i)-&gt;startPoint()-&gt;getCoordinate();</div><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;        <span class="keyword">const</span> QVector3D&amp; p2 = (*i)-&gt;endPoint()-&gt;getCoordinate();</div><div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;        <a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html">SubdivisionControlPoint</a>* point = (*i)-&gt;insertControlPoint((p1 + p2)/2);</div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;        <span class="keywordflow">if</span> (point != 0) {</div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;            point-&gt;<a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html#a5642f57c7f17e78c27ad6edb0fdb7f65">setSelected</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;            last = point;</div><div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;            n++;</div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;        }</div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;    }</div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;    list.clear();</div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;    <span class="keywordflow">if</span> (last != 0) {</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a523a7e9948d95a71e9008d386daeafee">setActiveControlPoint</a>(last);</div><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#a24cda66f9ccc1c9bc24f8885bcf97255">showControlPointDialog</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#a35f446710a96c227f1794eacaef7ba6a">updateControlPointValue</a>(last);</div><div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;    }</div><div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;    <span class="keywordflow">if</span> (n &gt; 0) {</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;        uo-&gt;<a class="code" href="classShipCAD_1_1UndoObject.html#a93bad349f284a0ff1cece56aa931f9e3">accept</a>();</div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ab221977f2a8bd4d51d6ee777be0d7b8a">setBuild</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;    }</div><div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;    <span class="keywordflow">else</span> {</div><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;        <span class="keyword">delete</span> uo;</div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ae28eabc4c698e3bc8732a004d2ab4034">changeSelectedItems</a>();</div><div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;    }</div><div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;}</div><div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;</div><div class="line"><a name="l00274"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#afba338b6c9bff947b850c220d031a7de">  274</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#afba338b6c9bff947b850c220d031a7de">Controller::assembleFace</a>()</div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;{</div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;}</div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;</div><div class="line"><a name="l00279"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a5ff6228a1b2fd0400ba51a8ab7ee01a8">  279</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a5ff6228a1b2fd0400ba51a8ab7ee01a8">Controller::deleteNegativeFaces</a>()</div><div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;{</div><div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;}</div><div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;</div><div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;<span class="comment">// FreeShipUnit.pas:4948</span></div><div class="line"><a name="l00285"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a6314812b2170bdbbf17e79374e745005">  285</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a6314812b2170bdbbf17e79374e745005">Controller::flipFaces</a>()</div><div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;{</div><div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::flipFaces&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;    <span class="comment">// msg 0083</span></div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;flip normals&quot;</span>), <span class="keyword">true</span>);</div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;    set&lt;SubdivisionControlFace*&gt;::iterator i =</div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a5c58ee81d873069b4c347f6d35d8a88a">getSelControlFaceCollection</a>().begin();</div><div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;    <span class="keywordflow">for</span> (; i!=<a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a5c58ee81d873069b4c347f6d35d8a88a">getSelControlFaceCollection</a>().end(); ++i)</div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;        (*i)-&gt;flipNormal();</div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ab221977f2a8bd4d51d6ee777be0d7b8a">setBuild</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;}</div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;</div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;<span class="comment">// returns true if dialog accepted, faces or points will have been selected, or all deselected if</span></div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;<span class="comment">// dialog not accepted</span></div><div class="line"><a name="l00301"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#afc2bffed2e3f9189c40fb6a05039672d">  301</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1Controller.html#afc2bffed2e3f9189c40fb6a05039672d">Controller::showChooseLayerDialog</a>(<a class="code" href="namespaceShipCAD.html#a33e1c54e3609477478431b6a4c106804">LayerSelectMode</a> mode)</div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;{</div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;    <span class="comment">// get current visibility values</span></div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;    <span class="keywordtype">bool</span> old_normals = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a50cca4c783baeba58c8068c9b8a5d6a4">getVisibility</a>().<a class="code" href="classShipCAD_1_1Visibility.html#a973f63d7828898c1499607a8d87b430d">isShowNormals</a>();</div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;    <span class="keywordtype">bool</span> old_edges = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a50cca4c783baeba58c8068c9b8a5d6a4">getVisibility</a>().<a class="code" href="classShipCAD_1_1Visibility.html#a63588a3b8aa0a7dd37b19173a4802b47">isShowInteriorEdges</a>();</div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;    <span class="keywordtype">bool</span> old_control_net = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a50cca4c783baeba58c8068c9b8a5d6a4">getVisibility</a>().<a class="code" href="classShipCAD_1_1Visibility.html#a177cc880657723c1cbcc4c66c16ee208">isShowControlNet</a>();</div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;</div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;    <span class="comment">// set new visibility values</span></div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;    <span class="keywordflow">if</span> (mode == <a class="code" href="namespaceShipCAD.html#a33e1c54e3609477478431b6a4c106804ade3fc9da994d6e6ab125978921665966">fsFaces</a>) {</div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a50cca4c783baeba58c8068c9b8a5d6a4">getVisibility</a>().<a class="code" href="classShipCAD_1_1Visibility.html#a78971bef725cdc53fa600589d68b628a">setShowNormals</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a50cca4c783baeba58c8068c9b8a5d6a4">getVisibility</a>().<a class="code" href="classShipCAD_1_1Visibility.html#a2ce6cd0c56750e6638b5e195e6bc5590">setShowInteriorEdges</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;    } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a50cca4c783baeba58c8068c9b8a5d6a4">getVisibility</a>().<a class="code" href="classShipCAD_1_1Visibility.html#a78971bef725cdc53fa600589d68b628a">setShowNormals</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a50cca4c783baeba58c8068c9b8a5d6a4">getVisibility</a>().<a class="code" href="classShipCAD_1_1Visibility.html#a2ce6cd0c56750e6638b5e195e6bc5590">setShowInteriorEdges</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a50cca4c783baeba58c8068c9b8a5d6a4">getVisibility</a>().<a class="code" href="classShipCAD_1_1Visibility.html#a7498435ee6955772713b113a63279260">setShowControlNet</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;    }</div><div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;</div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;    <span class="comment">// collect all visible layers</span></div><div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;    vector&lt;SubdivisionLayer*&gt; layers;</div><div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=0; i&lt;<a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a011480014cfb68430c9f60aff474936c">numberOfLayers</a>(); i++) {</div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a24b230e51a0c5fb3e7f51d0e2340eb9f">getLayer</a>(i)-&gt;<a class="code" href="classShipCAD_1_1SubdivisionLayer.html#adb65832883b6d2c88803d62edb48588b">isVisible</a>())</div><div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;            layers.push_back(<a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;getLayer(i));</div><div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;    }</div><div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;</div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;    <span class="comment">// the dialog</span></div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;    <a class="code" href="structShipCAD_1_1ChooseLayerDialogData.html">ChooseLayerDialogData</a> data(layers, mode);</div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#a0255f1b79a48aa8156e078bc7bcc8cf9">exeChooseLayerDialog</a>(data);</div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;</div><div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;    <span class="comment">// recover</span></div><div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a50cca4c783baeba58c8068c9b8a5d6a4">getVisibility</a>().<a class="code" href="classShipCAD_1_1Visibility.html#a78971bef725cdc53fa600589d68b628a">setShowNormals</a>(old_normals);</div><div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a50cca4c783baeba58c8068c9b8a5d6a4">getVisibility</a>().<a class="code" href="classShipCAD_1_1Visibility.html#a2ce6cd0c56750e6638b5e195e6bc5590">setShowInteriorEdges</a>(old_edges);</div><div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a50cca4c783baeba58c8068c9b8a5d6a4">getVisibility</a>().<a class="code" href="classShipCAD_1_1Visibility.html#a7498435ee6955772713b113a63279260">setShowControlNet</a>(old_control_net);</div><div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;    <span class="keywordflow">if</span> (!data.<a class="code" href="structShipCAD_1_1ChooseLayerDialogData.html#a96cae0954fbe02423cdaee90c5983da2">accepted</a>) {</div><div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a993e2dfe6bb88cf07375e6a57d2d15a5">clearSelections</a>();</div><div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;        <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;    }</div><div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;    <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;}</div><div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;</div><div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;<span class="comment">// FreeShipUnit.pas:4959</span></div><div class="line"><a name="l00341"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a2f7c4f8e0759c8f59cd0b2d008e2776b">  341</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a2f7c4f8e0759c8f59cd0b2d008e2776b">Controller::mirrorPlaneFace</a>()</div><div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;{</div><div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::mirrorPlaneFace&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;    vector&lt;SubdivisionControlFace*&gt; mirrorfaces;</div><div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;    set&lt;SubdivisionControlFace*&gt;&amp; cflist = <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a5c58ee81d873069b4c347f6d35d8a88a">getSelControlFaceCollection</a>();</div><div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;</div><div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;    <span class="comment">// if nothing selected, use the Choose Layers dialog</span></div><div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;    <span class="keywordflow">if</span> (cflist.size() == 0 &amp;&amp; !<a class="code" href="classShipCAD_1_1Controller.html#afc2bffed2e3f9189c40fb6a05039672d">showChooseLayerDialog</a>(<a class="code" href="namespaceShipCAD.html#a33e1c54e3609477478431b6a4c106804ade3fc9da994d6e6ab125978921665966">fsFaces</a>))</div><div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;</div><div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;    <span class="comment">// use all selected control faces</span></div><div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;    mirrorfaces.insert(mirrorfaces.end(), cflist.begin(), cflist.end());</div><div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;    <span class="keywordflow">if</span> (mirrorfaces.size() == 0)</div><div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;    <a class="code" href="structShipCAD_1_1MirrorDialogData.html">MirrorDialogData</a> data(<span class="keyword">false</span>, <a class="code" href="namespaceShipCAD.html#aa0f3f220e102a298d2e698af90f5e1fca98cd91131ffa92087bfcefe6fb5e4d6d">transverse</a>, 0.0);</div><div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#a9a8b6fae50e279373d795f654de16e60">exeMirrorDialog</a>(data);</div><div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;    <span class="keywordflow">if</span> (!data.<a class="code" href="structShipCAD_1_1MirrorDialogData.html#afcb200cc96d661381d54e6ca4919a216">accepted</a>) {</div><div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a993e2dfe6bb88cf07375e6a57d2d15a5">clearSelections</a>();</div><div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;    }</div><div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;    <span class="comment">// msg 0084</span></div><div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;mirror&quot;</span>), <span class="keyword">true</span>);</div><div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;    <a class="code" href="classShipCAD_1_1Plane.html">Plane</a> p(0,0,0,-data.<a class="code" href="structShipCAD_1_1MirrorDialogData.html#ab692a899cc809b67fd65fee10848e863">distance</a>);</div><div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;    <span class="keywordflow">if</span> (data.<a class="code" href="structShipCAD_1_1MirrorDialogData.html#a4e17198aa242bba6426a2b28840ceca5">which_plane</a> == <a class="code" href="namespaceShipCAD.html#aa0f3f220e102a298d2e698af90f5e1fca98cd91131ffa92087bfcefe6fb5e4d6d">transverse</a>)</div><div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;        p.<a class="code" href="classShipCAD_1_1Plane.html#a383a2f49031b8bcfa04be06035836a05">setA</a>(1.0);</div><div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;    <span class="keywordflow">else</span> <span class="keywordflow">if</span> (data.<a class="code" href="structShipCAD_1_1MirrorDialogData.html#a4e17198aa242bba6426a2b28840ceca5">which_plane</a> == <a class="code" href="namespaceShipCAD.html#aa0f3f220e102a298d2e698af90f5e1fca57120f6bafe4097088113cc547769d44">horizontal</a>)</div><div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;        p.<a class="code" href="classShipCAD_1_1Plane.html#affed6efd889f4725ae764b243763fb3e">setC</a>(1.0);</div><div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;    <span class="keywordflow">else</span></div><div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;        p.<a class="code" href="classShipCAD_1_1Plane.html#aab7d46cba75a32089644b183e0a82dff">setB</a>(1.0);</div><div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#aa4373fbdac959c595f7ef08da4d5ad60">mirrorFaces</a>(data.<a class="code" href="structShipCAD_1_1MirrorDialogData.html#a6e3cdbe59eeedec71b5d3b56e5414516">connect_points</a>, p, mirrorfaces);</div><div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ab221977f2a8bd4d51d6ee777be0d7b8a">setBuild</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;}</div><div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;</div><div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;<span class="comment">// FreeShipUnit.pas:5393</span></div><div class="line"><a name="l00377"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#ad2bc80eb2e8445e335709804120e80f8">  377</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#ad2bc80eb2e8445e335709804120e80f8">Controller::newFace</a>()</div><div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;{</div><div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::newFace&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;    <a class="code" href="classOrderedPointMap.html">OrderedPointMap</a>&amp; cplist =</div><div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#abf8b8f77097b24be87696d15273611bd">getSelControlPointCollection</a>();</div><div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;</div><div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;    <span class="keywordflow">if</span> (cplist.<a class="code" href="classOrderedPointMap.html#a17d63e3732a91baa412fd265d18ac7c1">size</a>() &lt; 3) {</div><div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;        <span class="comment">// msg 0095 error</span></div><div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#a108f5d44546cab9a8e58a7e8d187a68e">displayWarningDialog</a>(tr(<span class="stringliteral">&quot;You need to select at least 3 controlpoints to create a new controlface&quot;</span>));</div><div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;    }</div><div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;    <span class="comment">// msg 0094</span></div><div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;    <a class="code" href="classShipCAD_1_1UndoObject.html">UndoObject</a>* uo = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;new face&quot;</span>), <span class="keyword">false</span>);</div><div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;    <span class="comment">// remember the number of faces, edges and points</span></div><div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;    <span class="comment">// assemble all points in a temporary list</span></div><div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;    vector&lt;SubdivisionControlPoint*&gt; tmp;</div><div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=0; i&lt;cplist.<a class="code" href="classOrderedPointMap.html#a17d63e3732a91baa412fd265d18ac7c1">size</a>(); i++)</div><div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;        tmp.push_back(cplist.<a class="code" href="classOrderedPointMap.html#ae87e03500550c05c9b5fe8bd5554a88a">get</a>(i));</div><div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;    <span class="comment">// deselect the controlpoints</span></div><div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;    cplist.<a class="code" href="classOrderedPointMap.html#afc97596deeaa4241ab8533aa2df0f8cf">clear</a>();</div><div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;    <span class="comment">// add the new face</span></div><div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionControlFace.html">SubdivisionControlFace</a>* face =</div><div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#abbbb7422a86771451034d2fb7a76bb26">addControlFace</a>(tmp, <span class="keyword">true</span>, <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;getActiveLayer());</div><div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;    <span class="keywordflow">if</span> (face != 0) {</div><div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;        uo-&gt;<a class="code" href="classShipCAD_1_1UndoObject.html#a93bad349f284a0ff1cece56aa931f9e3">accept</a>();</div><div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ab221977f2a8bd4d51d6ee777be0d7b8a">setBuild</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;    } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;        <span class="keyword">delete</span> uo;</div><div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ae28eabc4c698e3bc8732a004d2ab4034">changeSelectedItems</a>();</div><div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;    }</div><div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;}</div><div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;</div><div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;<span class="comment">// FreeShipUnit.pas:5102</span></div><div class="line"><a name="l00412"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a288d168e5160d0409d5e4472e2ad1d5b">  412</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a288d168e5160d0409d5e4472e2ad1d5b">Controller::rotateFaces</a>()</div><div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;{</div><div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::rotateFaces&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;</div><div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;    vector&lt;SubdivisionControlPoint*&gt; points;</div><div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;    <span class="keywordtype">size_t</span> nlocked;</div><div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;</div><div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#af0f0d7bb979c8c8ba04b9be26e7cfe30">extractPointsFromSelection</a>(points, nlocked);</div><div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;    <span class="keywordflow">if</span> (points.size() == 0 &amp;&amp; !<a class="code" href="classShipCAD_1_1Controller.html#afc2bffed2e3f9189c40fb6a05039672d">showChooseLayerDialog</a>(<a class="code" href="namespaceShipCAD.html#a33e1c54e3609477478431b6a4c106804a542ad0cef590007de75623cc41a83551">fsPoints</a>))</div><div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;</div><div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#af0f0d7bb979c8c8ba04b9be26e7cfe30">extractPointsFromSelection</a>(points, nlocked);</div><div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;    <span class="keywordflow">if</span> (points.size() == 0)</div><div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;    <span class="keywordtype">bool</span> proceed = <span class="keyword">true</span>;</div><div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;    <span class="keywordflow">if</span> (nlocked &gt; 0)</div><div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;        proceed = <a class="code" href="classShipCAD_1_1Controller.html#a2b2d3d9fbd9fd115ae8e80fa57930277">proceedWhenLockedPoints</a>();</div><div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;    <span class="keywordflow">if</span> (!proceed) {</div><div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a993e2dfe6bb88cf07375e6a57d2d15a5">clearSelections</a>();</div><div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;    }</div><div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;    </div><div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;    <span class="comment">// msg 0088</span></div><div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;    <a class="code" href="structShipCAD_1_1RotateDialogData.html">RotateDialogData</a> data(tr(<span class="stringliteral">&quot;Rotation vector&quot;</span>), tr(<span class="stringliteral">&quot;[Degr.]&quot;</span>));</div><div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#af7511bdc37081194facf5169c91cee28">exeRotateDialog</a>(data);</div><div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;    <span class="keywordflow">if</span> (!data.<a class="code" href="structShipCAD_1_1RotateDialogData.html#a1e134e74a944807a063ac663526b0789">accepted</a>) {</div><div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a993e2dfe6bb88cf07375e6a57d2d15a5">clearSelections</a>();</div><div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;    }</div><div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;    <span class="comment">// msg 0089</span></div><div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;rotate&quot;</span>), <span class="keyword">true</span>);</div><div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;    <span class="keywordtype">double</span> cosx = cos(<a class="code" href="namespaceShipCAD.html#ac344c080c66b4394cb988cf88c726029">DegToRad</a>(data.<a class="code" href="structShipCAD_1_1RotateDialogData.html#a53bd3533c7fd9e82d9298cbba080a430">rotation_vector</a>.x()));</div><div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;    <span class="keywordtype">double</span> sinx = sin(<a class="code" href="namespaceShipCAD.html#ac344c080c66b4394cb988cf88c726029">DegToRad</a>(data.<a class="code" href="structShipCAD_1_1RotateDialogData.html#a53bd3533c7fd9e82d9298cbba080a430">rotation_vector</a>.x()));</div><div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;    <span class="keywordtype">double</span> cosy = cos(<a class="code" href="namespaceShipCAD.html#ac344c080c66b4394cb988cf88c726029">DegToRad</a>(data.<a class="code" href="structShipCAD_1_1RotateDialogData.html#a53bd3533c7fd9e82d9298cbba080a430">rotation_vector</a>.y()));</div><div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;    <span class="keywordtype">double</span> siny = sin(<a class="code" href="namespaceShipCAD.html#ac344c080c66b4394cb988cf88c726029">DegToRad</a>(data.<a class="code" href="structShipCAD_1_1RotateDialogData.html#a53bd3533c7fd9e82d9298cbba080a430">rotation_vector</a>.y()));</div><div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;    <span class="keywordtype">double</span> cosz = cos(<a class="code" href="namespaceShipCAD.html#ac344c080c66b4394cb988cf88c726029">DegToRad</a>(data.<a class="code" href="structShipCAD_1_1RotateDialogData.html#a53bd3533c7fd9e82d9298cbba080a430">rotation_vector</a>.z()));</div><div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;    <span class="keywordtype">double</span> sinz = sin(<a class="code" href="namespaceShipCAD.html#ac344c080c66b4394cb988cf88c726029">DegToRad</a>(data.<a class="code" href="structShipCAD_1_1RotateDialogData.html#a53bd3533c7fd9e82d9298cbba080a430">rotation_vector</a>.z()));</div><div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;</div><div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=0; i&lt;points.size(); i++) {</div><div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;        <span class="keywordflow">if</span> (!points[i]-&gt;isLocked())</div><div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;            points[i]-&gt;setCoordinate(<a class="code" href="namespaceShipCAD.html#af88f847dc1803cadbeb655783961dbfd">RotateVector</a>(points[i]-&gt;getCoordinate(), sinx, cosx, siny, cosy, sinz, cosz));</div><div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;    }</div><div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;</div><div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;    <span class="keywordflow">if</span> (points.size() == <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a994923f432129431b30d6b532059a6ab">numberOfControlPoints</a>()</div><div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;        &amp;&amp; <a class="code" href="classShipCAD_1_1Controller.html#acaba0800c9cee9db5aba5a5838b89cd8">adjustMarkersDialog</a>()) {</div><div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160;        <span class="comment">// rotate the markers also</span></div><div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160;        <a class="code" href="namespaceShipCAD.html#a880f36455b3b35823ae14bdd62e20b31">MarkerVectorIterator</a> i = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#abc5faaa00b4b34bc1b0b1cd52af4ab3b">getMarkers</a>().<a class="code" href="classPointerVector.html#a594866129f2e9a3701c1f414ca3299e3">begin</a>();</div><div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;        <span class="keywordflow">for</span> (; i!=<a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#abc5faaa00b4b34bc1b0b1cd52af4ab3b">getMarkers</a>().<a class="code" href="classPointerVector.html#a6182f5429c4c98ba2556d40484aab2f9">end</a>(); ++i) {</div><div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160;            <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> j=0; j&lt;(*i)-&gt;numberOfPoints(); j++) {</div><div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;                (*i)-&gt;setPoint(j, <a class="code" href="namespaceShipCAD.html#af88f847dc1803cadbeb655783961dbfd">RotateVector</a>((*i)-&gt;getPoint(j),</div><div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;                                               sinx, cosx,</div><div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;                                               siny, cosy,</div><div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;                                               sinz, cosz));</div><div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;            }</div><div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;        }</div><div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;    }</div><div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;</div><div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ab221977f2a8bd4d51d6ee777be0d7b8a">setBuild</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160;}</div><div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;</div><div class="line"><a name="l00474"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#acaba0800c9cee9db5aba5a5838b89cd8">  474</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1Controller.html#acaba0800c9cee9db5aba5a5838b89cd8">Controller::adjustMarkersDialog</a>()</div><div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;{</div><div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;numberOfMarkers() == 0)</div><div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160;        <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;    <span class="keywordtype">bool</span> ok;</div><div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;    <span class="comment">// msg 0180</span></div><div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#ae37d12b77bce8119a3562aba8e5b7ef0">displayQuestionDialog</a>(</div><div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;        tr(<span class="stringliteral">&quot;Do you want to adjust the markers too?&quot;</span>), ok);</div><div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160;    <span class="keywordflow">return</span> ok;</div><div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;}</div><div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;    </div><div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;<span class="comment">// FreeShipUnit.pas:5195</span></div><div class="line"><a name="l00486"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a5f14267f3c2906bfaf755536efaeea18">  486</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a5f14267f3c2906bfaf755536efaeea18">Controller::scaleFaces</a>()</div><div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160;{</div><div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::scaleFaces&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160;</div><div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;    vector&lt;SubdivisionControlPoint*&gt; points;</div><div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160;    <span class="keywordtype">size_t</span> nlocked;</div><div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;</div><div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#af0f0d7bb979c8c8ba04b9be26e7cfe30">extractPointsFromSelection</a>(points, nlocked);</div><div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160;    <span class="keywordflow">if</span> (points.size() == 0 &amp;&amp; !<a class="code" href="classShipCAD_1_1Controller.html#afc2bffed2e3f9189c40fb6a05039672d">showChooseLayerDialog</a>(<a class="code" href="namespaceShipCAD.html#a33e1c54e3609477478431b6a4c106804a542ad0cef590007de75623cc41a83551">fsPoints</a>))</div><div class="line"><a name="l00495"></a><span class="lineno">  495</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00496"></a><span class="lineno">  496</span>&#160;</div><div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#af0f0d7bb979c8c8ba04b9be26e7cfe30">extractPointsFromSelection</a>(points, nlocked);</div><div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160;    <span class="keywordflow">if</span> (points.size() == 0)</div><div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;    <span class="keywordtype">bool</span> proceed = <span class="keyword">true</span>;</div><div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160;    <span class="keywordflow">if</span> (nlocked &gt; 0)</div><div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160;        proceed = <a class="code" href="classShipCAD_1_1Controller.html#a2b2d3d9fbd9fd115ae8e80fa57930277">proceedWhenLockedPoints</a>();</div><div class="line"><a name="l00503"></a><span class="lineno">  503</span>&#160;    <span class="keywordflow">if</span> (!proceed) {</div><div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a993e2dfe6bb88cf07375e6a57d2d15a5">clearSelections</a>();</div><div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;    }</div><div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;</div><div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;    <span class="comment">// msg 0090</span></div><div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;    <a class="code" href="structShipCAD_1_1RotateDialogData.html">RotateDialogData</a> data(tr(<span class="stringliteral">&quot;Scale vector&quot;</span>), <span class="stringliteral">&quot;&quot;</span>);</div><div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160;    data.<a class="code" href="structShipCAD_1_1RotateDialogData.html#a53bd3533c7fd9e82d9298cbba080a430">rotation_vector</a> = QVector3D(1.0f, 1.0f, 1.0f);</div><div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#af7511bdc37081194facf5169c91cee28">exeRotateDialog</a>(data);</div><div class="line"><a name="l00512"></a><span class="lineno">  512</span>&#160;    <span class="keywordflow">if</span> (!data.<a class="code" href="structShipCAD_1_1RotateDialogData.html#a1e134e74a944807a063ac663526b0789">accepted</a>) {</div><div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a993e2dfe6bb88cf07375e6a57d2d15a5">clearSelections</a>();</div><div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;    }</div><div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;    <span class="comment">// msg 0091</span></div><div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;scale&quot;</span>), <span class="keyword">true</span>);</div><div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160;    <span class="keywordflow">if</span> (points.size() == <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a994923f432129431b30d6b532059a6ab">numberOfControlPoints</a>()) {</div><div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160;        <span class="keywordtype">bool</span> adjust_markers = <a class="code" href="classShipCAD_1_1Controller.html#acaba0800c9cee9db5aba5a5838b89cd8">adjustMarkersDialog</a>();</div><div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;        <span class="comment">// scale the entire model</span></div><div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a5e9e159fc6c1fcd06cc14005bb0e51c8">scaleModel</a>(data.<a class="code" href="structShipCAD_1_1RotateDialogData.html#a53bd3533c7fd9e82d9298cbba080a430">rotation_vector</a>, <span class="keyword">false</span>, adjust_markers);</div><div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;    } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;        <span class="comment">// only a selected part of the model must be scaled</span></div><div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160;        <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=0; i&lt;points.size(); i++) {</div><div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160;            <span class="keywordflow">if</span> (!points[i]-&gt;isLocked())</div><div class="line"><a name="l00526"></a><span class="lineno">  526</span>&#160;                points[i]-&gt;setCoordinate(</div><div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;                    data.<a class="code" href="structShipCAD_1_1RotateDialogData.html#a53bd3533c7fd9e82d9298cbba080a430">rotation_vector</a> * points[i]-&gt;getCoordinate());</div><div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160;        }</div><div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;    }</div><div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ab221977f2a8bd4d51d6ee777be0d7b8a">setBuild</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;}</div><div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;</div><div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160;<span class="comment">// FreeShipUnit.pas:5287</span></div><div class="line"><a name="l00536"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#ac7aabbfcf700269dc82610c73a129c03">  536</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#ac7aabbfcf700269dc82610c73a129c03">Controller::moveFaces</a>()</div><div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;{</div><div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::moveFaces&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;    vector&lt;SubdivisionControlPoint*&gt; points;</div><div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;    <span class="keywordtype">size_t</span> nlocked;</div><div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;</div><div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#af0f0d7bb979c8c8ba04b9be26e7cfe30">extractPointsFromSelection</a>(points, nlocked);</div><div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;    <span class="keywordflow">if</span> (points.size() == 0 &amp;&amp; !<a class="code" href="classShipCAD_1_1Controller.html#afc2bffed2e3f9189c40fb6a05039672d">showChooseLayerDialog</a>(<a class="code" href="namespaceShipCAD.html#a33e1c54e3609477478431b6a4c106804a542ad0cef590007de75623cc41a83551">fsPoints</a>))</div><div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160;</div><div class="line"><a name="l00546"></a><span class="lineno">  546</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#af0f0d7bb979c8c8ba04b9be26e7cfe30">extractPointsFromSelection</a>(points, nlocked);</div><div class="line"><a name="l00547"></a><span class="lineno">  547</span>&#160;    <span class="keywordflow">if</span> (points.size() == 0)</div><div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00549"></a><span class="lineno">  549</span>&#160;    <span class="keywordtype">bool</span> proceed = <span class="keyword">true</span>;</div><div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160;    <span class="keywordflow">if</span> (nlocked &gt; 0)</div><div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160;        proceed = <a class="code" href="classShipCAD_1_1Controller.html#a2b2d3d9fbd9fd115ae8e80fa57930277">proceedWhenLockedPoints</a>();</div><div class="line"><a name="l00552"></a><span class="lineno">  552</span>&#160;    <span class="keywordflow">if</span> (!proceed) {</div><div class="line"><a name="l00553"></a><span class="lineno">  553</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a993e2dfe6bb88cf07375e6a57d2d15a5">clearSelections</a>();</div><div class="line"><a name="l00554"></a><span class="lineno">  554</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00555"></a><span class="lineno">  555</span>&#160;    }</div><div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160;</div><div class="line"><a name="l00557"></a><span class="lineno">  557</span>&#160;    <span class="comment">// msg 0092</span></div><div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160;    <a class="code" href="structShipCAD_1_1RotateDialogData.html">RotateDialogData</a> data(tr(<span class="stringliteral">&quot;Translation vector&quot;</span>),</div><div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160;                          <a class="code" href="namespaceShipCAD.html#aef3e2265fc686fbe6b50b081dcc4e6ff">LengthStr</a>(<a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;getProjectSettings().getUnits()));</div><div class="line"><a name="l00560"></a><span class="lineno">  560</span>&#160;    </div><div class="line"><a name="l00561"></a><span class="lineno">  561</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#af7511bdc37081194facf5169c91cee28">exeRotateDialog</a>(data);</div><div class="line"><a name="l00562"></a><span class="lineno">  562</span>&#160;    <span class="keywordflow">if</span> (!data.<a class="code" href="structShipCAD_1_1RotateDialogData.html#a1e134e74a944807a063ac663526b0789">accepted</a>) {</div><div class="line"><a name="l00563"></a><span class="lineno">  563</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a993e2dfe6bb88cf07375e6a57d2d15a5">clearSelections</a>();</div><div class="line"><a name="l00564"></a><span class="lineno">  564</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00565"></a><span class="lineno">  565</span>&#160;    }</div><div class="line"><a name="l00566"></a><span class="lineno">  566</span>&#160;    <span class="comment">// msg 0093</span></div><div class="line"><a name="l00567"></a><span class="lineno">  567</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;move&quot;</span>), <span class="keyword">true</span>);</div><div class="line"><a name="l00568"></a><span class="lineno">  568</span>&#160;    <span class="keywordtype">bool</span> adjust_markers = <span class="keyword">false</span>;</div><div class="line"><a name="l00569"></a><span class="lineno">  569</span>&#160;    <span class="keywordflow">if</span> (points.size() == <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a994923f432129431b30d6b532059a6ab">numberOfControlPoints</a>())</div><div class="line"><a name="l00570"></a><span class="lineno">  570</span>&#160;         adjust_markers = <a class="code" href="classShipCAD_1_1Controller.html#acaba0800c9cee9db5aba5a5838b89cd8">adjustMarkersDialog</a>();</div><div class="line"><a name="l00571"></a><span class="lineno">  571</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ac1b60be4b08de357c6a1aa0f8e1c0a9b">moveFaces</a>(points, data.<a class="code" href="structShipCAD_1_1RotateDialogData.html#a53bd3533c7fd9e82d9298cbba080a430">rotation_vector</a>, adjust_markers);</div><div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ab221977f2a8bd4d51d6ee777be0d7b8a">setBuild</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l00573"></a><span class="lineno">  573</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l00574"></a><span class="lineno">  574</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l00575"></a><span class="lineno">  575</span>&#160;}</div><div class="line"><a name="l00576"></a><span class="lineno">  576</span>&#160;</div><div class="line"><a name="l00577"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a3c229cc7b4660933229250ba77e197f7">  577</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a3c229cc7b4660933229250ba77e197f7">Controller::exportFileArchimedes</a>()</div><div class="line"><a name="l00578"></a><span class="lineno">  578</span>&#160;{</div><div class="line"><a name="l00579"></a><span class="lineno">  579</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l00580"></a><span class="lineno">  580</span>&#160;}</div><div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160;</div><div class="line"><a name="l00582"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a3a36570218825d074f256ee3650c5a8b">  582</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a3a36570218825d074f256ee3650c5a8b">Controller::exportCoordinates</a>()</div><div class="line"><a name="l00583"></a><span class="lineno">  583</span>&#160;{</div><div class="line"><a name="l00584"></a><span class="lineno">  584</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l00585"></a><span class="lineno">  585</span>&#160;}</div><div class="line"><a name="l00586"></a><span class="lineno">  586</span>&#160;</div><div class="line"><a name="l00587"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a7941ff51b66de58b883d2b0f46003af9">  587</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a7941ff51b66de58b883d2b0f46003af9">Controller::export2DPolylinesDXF</a>()</div><div class="line"><a name="l00588"></a><span class="lineno">  588</span>&#160;{</div><div class="line"><a name="l00589"></a><span class="lineno">  589</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l00590"></a><span class="lineno">  590</span>&#160;}</div><div class="line"><a name="l00591"></a><span class="lineno">  591</span>&#160;</div><div class="line"><a name="l00592"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a2a54e6215052d6a06d1119a84d2f7d85">  592</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a2a54e6215052d6a06d1119a84d2f7d85">Controller::export3DPolylinesDXF</a>()</div><div class="line"><a name="l00593"></a><span class="lineno">  593</span>&#160;{</div><div class="line"><a name="l00594"></a><span class="lineno">  594</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l00595"></a><span class="lineno">  595</span>&#160;}</div><div class="line"><a name="l00596"></a><span class="lineno">  596</span>&#160;</div><div class="line"><a name="l00597"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#aa663e1b23df9ee100def2c4ddd7cd125">  597</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#aa663e1b23df9ee100def2c4ddd7cd125">Controller::exportFacesDXF</a>()</div><div class="line"><a name="l00598"></a><span class="lineno">  598</span>&#160;{</div><div class="line"><a name="l00599"></a><span class="lineno">  599</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l00600"></a><span class="lineno">  600</span>&#160;}</div><div class="line"><a name="l00601"></a><span class="lineno">  601</span>&#160;</div><div class="line"><a name="l00602"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a6041d09e04e4360dd21c9cce963ee6e2">  602</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a6041d09e04e4360dd21c9cce963ee6e2">Controller::exportFEF</a>()</div><div class="line"><a name="l00603"></a><span class="lineno">  603</span>&#160;{</div><div class="line"><a name="l00604"></a><span class="lineno">  604</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l00605"></a><span class="lineno">  605</span>&#160;}</div><div class="line"><a name="l00606"></a><span class="lineno">  606</span>&#160;</div><div class="line"><a name="l00607"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a00b524f96361a01e0241ffc2b23c60cc">  607</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a00b524f96361a01e0241ffc2b23c60cc">Controller::exportGHS</a>()</div><div class="line"><a name="l00608"></a><span class="lineno">  608</span>&#160;{</div><div class="line"><a name="l00609"></a><span class="lineno">  609</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l00610"></a><span class="lineno">  610</span>&#160;}</div><div class="line"><a name="l00611"></a><span class="lineno">  611</span>&#160;</div><div class="line"><a name="l00612"></a><span class="lineno">  612</span>&#160;<span class="comment">// FreeShipUnit.pas:6215</span></div><div class="line"><a name="l00613"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a7b9dba5b5e8ba7f761b0223ff3629e9c">  613</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a7b9dba5b5e8ba7f761b0223ff3629e9c">Controller::exportPart</a>(<span class="keyword">const</span> QString&amp; filename)</div><div class="line"><a name="l00614"></a><span class="lineno">  614</span>&#160;{</div><div class="line"><a name="l00615"></a><span class="lineno">  615</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::exportPart&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00616"></a><span class="lineno">  616</span>&#160;</div><div class="line"><a name="l00617"></a><span class="lineno">  617</span>&#160;    vector&lt;SubdivisionControlFace*&gt; partfaces;</div><div class="line"><a name="l00618"></a><span class="lineno">  618</span>&#160;    set&lt;SubdivisionControlFace*&gt;&amp; cflist = <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a5c58ee81d873069b4c347f6d35d8a88a">getSelControlFaceCollection</a>();</div><div class="line"><a name="l00619"></a><span class="lineno">  619</span>&#160;</div><div class="line"><a name="l00620"></a><span class="lineno">  620</span>&#160;    <span class="comment">// if nothing selected, use the Choose Layers dialog</span></div><div class="line"><a name="l00621"></a><span class="lineno">  621</span>&#160;    <span class="keywordflow">if</span> (cflist.size() == 0 &amp;&amp; !<a class="code" href="classShipCAD_1_1Controller.html#afc2bffed2e3f9189c40fb6a05039672d">showChooseLayerDialog</a>(<a class="code" href="namespaceShipCAD.html#a33e1c54e3609477478431b6a4c106804ade3fc9da994d6e6ab125978921665966">fsFaces</a>))</div><div class="line"><a name="l00622"></a><span class="lineno">  622</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00623"></a><span class="lineno">  623</span>&#160;</div><div class="line"><a name="l00624"></a><span class="lineno">  624</span>&#160;    <span class="comment">// use all selected control faces</span></div><div class="line"><a name="l00625"></a><span class="lineno">  625</span>&#160;    partfaces.insert(partfaces.end(), cflist.begin(), cflist.end());</div><div class="line"><a name="l00626"></a><span class="lineno">  626</span>&#160;    <span class="keywordflow">if</span> (partfaces.size() == 0)</div><div class="line"><a name="l00627"></a><span class="lineno">  627</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00628"></a><span class="lineno">  628</span>&#160;</div><div class="line"><a name="l00629"></a><span class="lineno">  629</span>&#160;    QFile part(<a class="code" href="namespaceShipCAD.html#ae416df4a72579eb3a1a418b19551eb53">ChangeFileExt</a>(filename, <span class="stringliteral">&quot;.part&quot;</span>));</div><div class="line"><a name="l00630"></a><span class="lineno">  630</span>&#160;    <a class="code" href="classShipCAD_1_1FileBuffer.html">FileBuffer</a> dest;</div><div class="line"><a name="l00631"></a><span class="lineno">  631</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0d969a8b0f05767d6507290f118d769c">savePart</a>(filename, dest, partfaces);</div><div class="line"><a name="l00632"></a><span class="lineno">  632</span>&#160;    dest.<a class="code" href="classShipCAD_1_1FileBuffer.html#adcc7e54a07f39ad930df82da9c3c70fd">saveToFile</a>(part);</div><div class="line"><a name="l00633"></a><span class="lineno">  633</span>&#160;}</div><div class="line"><a name="l00634"></a><span class="lineno">  634</span>&#160;</div><div class="line"><a name="l00635"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#af86e9dc7208c8ffcacfae13ce3eae2c8">  635</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#af86e9dc7208c8ffcacfae13ce3eae2c8">Controller::exportMichlet</a>()</div><div class="line"><a name="l00636"></a><span class="lineno">  636</span>&#160;{</div><div class="line"><a name="l00637"></a><span class="lineno">  637</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l00638"></a><span class="lineno">  638</span>&#160;}</div><div class="line"><a name="l00639"></a><span class="lineno">  639</span>&#160;</div><div class="line"><a name="l00640"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#aff36c67432f7527fccad4b0b90c226a9">  640</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#aff36c67432f7527fccad4b0b90c226a9">Controller::exportIGES</a>()</div><div class="line"><a name="l00641"></a><span class="lineno">  641</span>&#160;{</div><div class="line"><a name="l00642"></a><span class="lineno">  642</span>&#160;</div><div class="line"><a name="l00643"></a><span class="lineno">  643</span>&#160;}</div><div class="line"><a name="l00644"></a><span class="lineno">  644</span>&#160;</div><div class="line"><a name="l00645"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a9f2572c18a3e6adee8b36d65d0f4d0e8">  645</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a9f2572c18a3e6adee8b36d65d0f4d0e8">Controller::importMichletWaves</a>()</div><div class="line"><a name="l00646"></a><span class="lineno">  646</span>&#160;{</div><div class="line"><a name="l00647"></a><span class="lineno">  647</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l00648"></a><span class="lineno">  648</span>&#160;}</div><div class="line"><a name="l00649"></a><span class="lineno">  649</span>&#160;</div><div class="line"><a name="l00650"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#aedec5d6b6975369449ad85015fdf356b">  650</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#aedec5d6b6975369449ad85015fdf356b">Controller::exportObj</a>()</div><div class="line"><a name="l00651"></a><span class="lineno">  651</span>&#160;{</div><div class="line"><a name="l00652"></a><span class="lineno">  652</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l00653"></a><span class="lineno">  653</span>&#160;}</div><div class="line"><a name="l00654"></a><span class="lineno">  654</span>&#160;</div><div class="line"><a name="l00655"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#aaa421c35fc4e7b567123810ac7982747">  655</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#aaa421c35fc4e7b567123810ac7982747">Controller::exportOffsets</a>()</div><div class="line"><a name="l00656"></a><span class="lineno">  656</span>&#160;{</div><div class="line"><a name="l00657"></a><span class="lineno">  657</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l00658"></a><span class="lineno">  658</span>&#160;}</div><div class="line"><a name="l00659"></a><span class="lineno">  659</span>&#160;</div><div class="line"><a name="l00660"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a11a8473f84eeed35f9f48c119da16351">  660</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a11a8473f84eeed35f9f48c119da16351">Controller::exportSTL</a>()</div><div class="line"><a name="l00661"></a><span class="lineno">  661</span>&#160;{</div><div class="line"><a name="l00662"></a><span class="lineno">  662</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l00663"></a><span class="lineno">  663</span>&#160;}</div><div class="line"><a name="l00664"></a><span class="lineno">  664</span>&#160;</div><div class="line"><a name="l00665"></a><span class="lineno">  665</span>&#160;<span class="comment">// FreeShipUnit.pas:7276</span></div><div class="line"><a name="l00666"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#aef735cfaf32fe83bf1091f9323e7061b">  666</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#aef735cfaf32fe83bf1091f9323e7061b">Controller::importCarene</a>()</div><div class="line"><a name="l00667"></a><span class="lineno">  667</span>&#160;{</div><div class="line"><a name="l00668"></a><span class="lineno">  668</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l00669"></a><span class="lineno">  669</span>&#160;}</div><div class="line"><a name="l00670"></a><span class="lineno">  670</span>&#160;</div><div class="line"><a name="l00671"></a><span class="lineno">  671</span>&#160;<span class="comment">// FreeShipUnit.pas:7379</span></div><div class="line"><a name="l00672"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a1eb61158ebc1814530f6b93d1ddf8d14">  672</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a1eb61158ebc1814530f6b93d1ddf8d14">Controller::importChines</a>(<span class="keyword">const</span> QString&amp; filename)</div><div class="line"><a name="l00673"></a><span class="lineno">  673</span>&#160;{</div><div class="line"><a name="l00674"></a><span class="lineno">  674</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::importChines&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00675"></a><span class="lineno">  675</span>&#160;    QFile chinefile(filename);</div><div class="line"><a name="l00676"></a><span class="lineno">  676</span>&#160;    <span class="comment">// msg 0107</span></div><div class="line"><a name="l00677"></a><span class="lineno">  677</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;import chines&quot;</span>), <span class="keyword">true</span>);</div><div class="line"><a name="l00678"></a><span class="lineno">  678</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ad2f9dfd32667e9ac690de184b7e576f1">clear</a>();</div><div class="line"><a name="l00679"></a><span class="lineno">  679</span>&#160;    <span class="keywordflow">try</span> {</div><div class="line"><a name="l00680"></a><span class="lineno">  680</span>&#160;        <span class="keywordflow">if</span> (!chinefile.open(QFile::ReadOnly | QIODevice::Text)) {</div><div class="line"><a name="l00681"></a><span class="lineno">  681</span>&#160;            <span class="comment">// msg 0106</span></div><div class="line"><a name="l00682"></a><span class="lineno">  682</span>&#160;            emit <a class="code" href="classShipCAD_1_1Controller.html#a202940610fb5179281bc045b8e9f9925">displayErrorDialog</a>(tr(<span class="stringliteral">&quot;Unable to open file!&quot;</span>));</div><div class="line"><a name="l00683"></a><span class="lineno">  683</span>&#160;            <span class="keywordflow">return</span>;</div><div class="line"><a name="l00684"></a><span class="lineno">  684</span>&#160;        }</div><div class="line"><a name="l00685"></a><span class="lineno">  685</span>&#160;        QTextStream is(&amp;chinefile);</div><div class="line"><a name="l00686"></a><span class="lineno">  686</span>&#160;        <a class="code" href="classPointerVector.html">SplineVector</a> splines(<span class="keyword">true</span>);</div><div class="line"><a name="l00687"></a><span class="lineno">  687</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae03a368cf40f1781fb0ed8a60248dcc6">loadChinesFromText</a>(is, splines);</div><div class="line"><a name="l00688"></a><span class="lineno">  688</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a860a91c09307c71f738a75aec159e6d0">importChines</a>(8, splines);</div><div class="line"><a name="l00689"></a><span class="lineno">  689</span>&#160;        splines.<a class="code" href="classPointerVector.html#a9f708acfaa3ce26d14b02d8e285c8729">clear</a>();</div><div class="line"><a name="l00690"></a><span class="lineno">  690</span>&#160;    } <span class="keywordflow">catch</span>(...) {</div><div class="line"><a name="l00691"></a><span class="lineno">  691</span>&#160;        <span class="comment">// TODO what do we do?</span></div><div class="line"><a name="l00692"></a><span class="lineno">  692</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00693"></a><span class="lineno">  693</span>&#160;    }</div><div class="line"><a name="l00694"></a><span class="lineno">  694</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l00695"></a><span class="lineno">  695</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#a61d8a1d0d26a123ef81527ba32932bd2">modelLoaded</a>();</div><div class="line"><a name="l00696"></a><span class="lineno">  696</span>&#160;}</div><div class="line"><a name="l00697"></a><span class="lineno">  697</span>&#160;</div><div class="line"><a name="l00698"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a1e36fc51758f120731b0ff79855fab05">  698</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a1e36fc51758f120731b0ff79855fab05">Controller::importFEF</a>()</div><div class="line"><a name="l00699"></a><span class="lineno">  699</span>&#160;{</div><div class="line"><a name="l00700"></a><span class="lineno">  700</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l00701"></a><span class="lineno">  701</span>&#160;}</div><div class="line"><a name="l00702"></a><span class="lineno">  702</span>&#160;</div><div class="line"><a name="l00703"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a0ce9a5b0d89230deea8a85cd32ec24da">  703</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a0ce9a5b0d89230deea8a85cd32ec24da">Controller::importHull</a>()</div><div class="line"><a name="l00704"></a><span class="lineno">  704</span>&#160;{</div><div class="line"><a name="l00705"></a><span class="lineno">  705</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l00706"></a><span class="lineno">  706</span>&#160;}</div><div class="line"><a name="l00707"></a><span class="lineno">  707</span>&#160;</div><div class="line"><a name="l00708"></a><span class="lineno">  708</span>&#160;<span class="comment">// FreeShipUnit.pas:7708</span></div><div class="line"><a name="l00709"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#ab341d0cdcbff45647e52544eed79b4f5">  709</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#ab341d0cdcbff45647e52544eed79b4f5">Controller::importPart</a>(<span class="keyword">const</span> QString&amp; filename)</div><div class="line"><a name="l00710"></a><span class="lineno">  710</span>&#160;{</div><div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::importPart&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00712"></a><span class="lineno">  712</span>&#160;    QFile partfile(filename);</div><div class="line"><a name="l00713"></a><span class="lineno">  713</span>&#160;    <a class="code" href="classShipCAD_1_1FileBuffer.html">FileBuffer</a> source;</div><div class="line"><a name="l00714"></a><span class="lineno">  714</span>&#160;    <span class="keywordtype">bool</span> changed = <span class="keyword">false</span>;</div><div class="line"><a name="l00715"></a><span class="lineno">  715</span>&#160;    <a class="code" href="namespaceShipCAD.html#af3a6fa23a7318acbda7b0066b53d694f">version_t</a> partfileversion;</div><div class="line"><a name="l00716"></a><span class="lineno">  716</span>&#160;    <span class="comment">// msg 0112</span></div><div class="line"><a name="l00717"></a><span class="lineno">  717</span>&#160;    <a class="code" href="classShipCAD_1_1UndoObject.html">UndoObject</a>* uo = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;import part&quot;</span>), <span class="keyword">false</span>);</div><div class="line"><a name="l00718"></a><span class="lineno">  718</span>&#160;    <span class="keywordflow">try</span> {</div><div class="line"><a name="l00719"></a><span class="lineno">  719</span>&#160;        source.<a class="code" href="classShipCAD_1_1FileBuffer.html#afe2a6e56770eed6bf9df894baa28c9fe">loadFromFile</a>(partfile);</div><div class="line"><a name="l00720"></a><span class="lineno">  720</span>&#160;        changed = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a167bdeeb8995f102acdbb8cdb92f34e3">loadPart</a>(source, partfileversion);</div><div class="line"><a name="l00721"></a><span class="lineno">  721</span>&#160;    } <span class="keywordflow">catch</span>(...) {</div><div class="line"><a name="l00722"></a><span class="lineno">  722</span>&#160;        <span class="comment">// TODO what do we do?</span></div><div class="line"><a name="l00723"></a><span class="lineno">  723</span>&#160;        <span class="keyword">delete</span> uo;</div><div class="line"><a name="l00724"></a><span class="lineno">  724</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00725"></a><span class="lineno">  725</span>&#160;    }</div><div class="line"><a name="l00726"></a><span class="lineno">  726</span>&#160;    <span class="keywordflow">if</span> (partfileversion &gt; <a class="code" href="namespaceShipCAD.html#aa3415e1acf9bdb19e24f31f5138d6a60">k_current_version</a>) {</div><div class="line"><a name="l00727"></a><span class="lineno">  727</span>&#160;        <span class="comment">// msg 0113</span></div><div class="line"><a name="l00728"></a><span class="lineno">  728</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#a202940610fb5179281bc045b8e9f9925">displayErrorDialog</a>(tr(<span class="stringliteral">&quot;This file was created with a later version of ShipCAD!&quot;</span>));</div><div class="line"><a name="l00729"></a><span class="lineno">  729</span>&#160;        <span class="keyword">delete</span> uo;</div><div class="line"><a name="l00730"></a><span class="lineno">  730</span>&#160;    }</div><div class="line"><a name="l00731"></a><span class="lineno">  731</span>&#160;    <span class="keywordflow">else</span> <span class="keywordflow">if</span> (changed) {</div><div class="line"><a name="l00732"></a><span class="lineno">  732</span>&#160;        uo-&gt;<a class="code" href="classShipCAD_1_1UndoObject.html#a93bad349f284a0ff1cece56aa931f9e3">accept</a>();</div><div class="line"><a name="l00733"></a><span class="lineno">  733</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ab221977f2a8bd4d51d6ee777be0d7b8a">setBuild</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l00734"></a><span class="lineno">  734</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l00735"></a><span class="lineno">  735</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l00736"></a><span class="lineno">  736</span>&#160;    }</div><div class="line"><a name="l00737"></a><span class="lineno">  737</span>&#160;    <span class="keywordflow">else</span> {</div><div class="line"><a name="l00738"></a><span class="lineno">  738</span>&#160;        <span class="comment">// msg 0114</span></div><div class="line"><a name="l00739"></a><span class="lineno">  739</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#a202940610fb5179281bc045b8e9f9925">displayErrorDialog</a>(tr(<span class="stringliteral">&quot;This is not a valid ShipCAD part file!&quot;</span>));</div><div class="line"><a name="l00740"></a><span class="lineno">  740</span>&#160;        <span class="keyword">delete</span> uo;</div><div class="line"><a name="l00741"></a><span class="lineno">  741</span>&#160;    }</div><div class="line"><a name="l00742"></a><span class="lineno">  742</span>&#160;}</div><div class="line"><a name="l00743"></a><span class="lineno">  743</span>&#160;</div><div class="line"><a name="l00744"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a7ec129046c11bd2be6cc388ca85206ce">  744</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a7ec129046c11bd2be6cc388ca85206ce">Controller::importPolycad</a>()</div><div class="line"><a name="l00745"></a><span class="lineno">  745</span>&#160;{</div><div class="line"><a name="l00746"></a><span class="lineno">  746</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l00747"></a><span class="lineno">  747</span>&#160;}</div><div class="line"><a name="l00748"></a><span class="lineno">  748</span>&#160;</div><div class="line"><a name="l00749"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a229916f691507a3fa9393d0f9fbc1de5">  749</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a229916f691507a3fa9393d0f9fbc1de5">Controller::importSurface</a>()</div><div class="line"><a name="l00750"></a><span class="lineno">  750</span>&#160;{</div><div class="line"><a name="l00751"></a><span class="lineno">  751</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l00752"></a><span class="lineno">  752</span>&#160;}</div><div class="line"><a name="l00753"></a><span class="lineno">  753</span>&#160;</div><div class="line"><a name="l00754"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a52d924f36259b6ec401acb6165922dc2">  754</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a52d924f36259b6ec401acb6165922dc2">Controller::importVRML</a>()</div><div class="line"><a name="l00755"></a><span class="lineno">  755</span>&#160;{</div><div class="line"><a name="l00756"></a><span class="lineno">  756</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l00757"></a><span class="lineno">  757</span>&#160;}</div><div class="line"><a name="l00758"></a><span class="lineno">  758</span>&#160;</div><div class="line"><a name="l00759"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a7415bce07d64323be6b9d97885aa0875">  759</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a7415bce07d64323be6b9d97885aa0875">Controller::loadFile</a>(<span class="keyword">const</span> QString&amp; filename)</div><div class="line"><a name="l00760"></a><span class="lineno">  760</span>&#160;{</div><div class="line"><a name="l00761"></a><span class="lineno">  761</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::loadFile&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00762"></a><span class="lineno">  762</span>&#160;    QFile loadfile(filename);</div><div class="line"><a name="l00763"></a><span class="lineno">  763</span>&#160;    <a class="code" href="classShipCAD_1_1FileBuffer.html">FileBuffer</a> source;</div><div class="line"><a name="l00764"></a><span class="lineno">  764</span>&#160;    <span class="keywordflow">try</span> {</div><div class="line"><a name="l00765"></a><span class="lineno">  765</span>&#160;        source.<a class="code" href="classShipCAD_1_1FileBuffer.html#afe2a6e56770eed6bf9df894baa28c9fe">loadFromFile</a>(loadfile);</div><div class="line"><a name="l00766"></a><span class="lineno">  766</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ad3e49bc04c73dc221e48d15974b68f41">loadBinary</a>(source);</div><div class="line"><a name="l00767"></a><span class="lineno">  767</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a690bd5621d82d15a28ea59c09ded99d8">clearSelectedItems</a>();</div><div class="line"><a name="l00768"></a><span class="lineno">  768</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a07daf75d876f80296f841f5c8d2327cb">setFilename</a>(filename);</div><div class="line"><a name="l00769"></a><span class="lineno">  769</span>&#160;        <span class="comment">// stop asking for file version</span></div><div class="line"><a name="l00770"></a><span class="lineno">  770</span>&#160;    } <span class="keywordflow">catch</span>(...) {</div><div class="line"><a name="l00771"></a><span class="lineno">  771</span>&#160;        <span class="comment">// TODO what do we do?</span></div><div class="line"><a name="l00772"></a><span class="lineno">  772</span>&#160;    }</div><div class="line"><a name="l00773"></a><span class="lineno">  773</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#ad9c16d37e77b98b2f289839d4f337325">clearUndo</a>();</div><div class="line"><a name="l00774"></a><span class="lineno">  774</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l00775"></a><span class="lineno">  775</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#a61d8a1d0d26a123ef81527ba32932bd2">modelLoaded</a>();</div><div class="line"><a name="l00776"></a><span class="lineno">  776</span>&#160;}</div><div class="line"><a name="l00777"></a><span class="lineno">  777</span>&#160;</div><div class="line"><a name="l00778"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a4dbd04dffa55a42ec77f15d45909d55c">  778</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a4dbd04dffa55a42ec77f15d45909d55c">Controller::saveFile</a>()</div><div class="line"><a name="l00779"></a><span class="lineno">  779</span>&#160;{</div><div class="line"><a name="l00780"></a><span class="lineno">  780</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::saveFile&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00781"></a><span class="lineno">  781</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;isFilenameSet()) {</div><div class="line"><a name="l00782"></a><span class="lineno">  782</span>&#160;        <span class="keyword">const</span> QString&amp; filename = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a4c29a9dd9e31c652a82b6398c8f7b983">getFilename</a>();</div><div class="line"><a name="l00783"></a><span class="lineno">  783</span>&#160;        cout &lt;&lt; <span class="stringliteral">&quot;saveFile:&quot;</span> &lt;&lt; filename.toStdString() &lt;&lt; endl;</div><div class="line"><a name="l00784"></a><span class="lineno">  784</span>&#160;        <span class="comment">// save to temporary file</span></div><div class="line"><a name="l00785"></a><span class="lineno">  785</span>&#160;        QFile tmp(<a class="code" href="namespaceShipCAD.html#ae416df4a72579eb3a1a418b19551eb53">ChangeFileExt</a>(filename, <span class="stringliteral">&quot;.tmp&quot;</span>));</div><div class="line"><a name="l00786"></a><span class="lineno">  786</span>&#160;        cout &lt;&lt; <span class="stringliteral">&quot;tmp:&quot;</span> &lt;&lt; tmp.fileName().toStdString() &lt;&lt; endl;</div><div class="line"><a name="l00787"></a><span class="lineno">  787</span>&#160;        <span class="keywordflow">if</span> (tmp.exists())</div><div class="line"><a name="l00788"></a><span class="lineno">  788</span>&#160;            <span class="keywordflow">throw</span> <a class="code" href="classShipCAD_1_1FileSaveError.html">FileSaveError</a>(<span class="stringliteral">&quot;tmp file already exists&quot;</span>);</div><div class="line"><a name="l00789"></a><span class="lineno">  789</span>&#160;        <span class="keywordflow">try</span> {</div><div class="line"><a name="l00790"></a><span class="lineno">  790</span>&#160;            <a class="code" href="classShipCAD_1_1FileBuffer.html">FileBuffer</a> dest;</div><div class="line"><a name="l00791"></a><span class="lineno">  791</span>&#160;            <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a64c7c4ddffffdd1be2f27eb4210af2b7">saveBinary</a>(dest);</div><div class="line"><a name="l00792"></a><span class="lineno">  792</span>&#160;            dest.<a class="code" href="classShipCAD_1_1FileBuffer.html#adcc7e54a07f39ad930df82da9c3c70fd">saveToFile</a>(tmp);</div><div class="line"><a name="l00793"></a><span class="lineno">  793</span>&#160;            <span class="comment">// remove backup if it exists</span></div><div class="line"><a name="l00794"></a><span class="lineno">  794</span>&#160;            QFile backup(<a class="code" href="namespaceShipCAD.html#ae416df4a72579eb3a1a418b19551eb53">ChangeFileExt</a>(filename, <span class="stringliteral">&quot;.bak&quot;</span>));</div><div class="line"><a name="l00795"></a><span class="lineno">  795</span>&#160;            cout &lt;&lt; <span class="stringliteral">&quot;backup:&quot;</span> &lt;&lt; backup.fileName().toStdString() &lt;&lt; endl;</div><div class="line"><a name="l00796"></a><span class="lineno">  796</span>&#160;            <span class="keywordflow">if</span> (backup.exists() &amp;&amp; !backup.remove())</div><div class="line"><a name="l00797"></a><span class="lineno">  797</span>&#160;                <span class="keywordflow">throw</span> <a class="code" href="classShipCAD_1_1FileSaveError.html">FileSaveError</a>(<span class="stringliteral">&quot;unable to remove backup file&quot;</span>);</div><div class="line"><a name="l00798"></a><span class="lineno">  798</span>&#160;            cout &lt;&lt; <span class="stringliteral">&quot;removed backup\n&quot;</span>;</div><div class="line"><a name="l00799"></a><span class="lineno">  799</span>&#160;            <span class="comment">// rename existing to .bak</span></div><div class="line"><a name="l00800"></a><span class="lineno">  800</span>&#160;            QFile existing(filename);</div><div class="line"><a name="l00801"></a><span class="lineno">  801</span>&#160;            cout &lt;&lt; <span class="stringliteral">&quot;existing:&quot;</span> &lt;&lt; existing.fileName().toStdString() &lt;&lt; endl;</div><div class="line"><a name="l00802"></a><span class="lineno">  802</span>&#160;            <span class="keywordflow">if</span> (existing.exists() &amp;&amp; !existing.rename(backup.fileName()))</div><div class="line"><a name="l00803"></a><span class="lineno">  803</span>&#160;                <span class="keywordflow">throw</span> <a class="code" href="classShipCAD_1_1FileSaveError.html">FileSaveError</a>(<span class="stringliteral">&quot;unable to rename original to backup file&quot;</span>);</div><div class="line"><a name="l00804"></a><span class="lineno">  804</span>&#160;            cout &lt;&lt; <span class="stringliteral">&quot;renamed existing to backup\n&quot;</span>;</div><div class="line"><a name="l00805"></a><span class="lineno">  805</span>&#160;            <span class="comment">// rename saved tmp</span></div><div class="line"><a name="l00806"></a><span class="lineno">  806</span>&#160;            <span class="keywordflow">if</span> (!tmp.rename(filename))</div><div class="line"><a name="l00807"></a><span class="lineno">  807</span>&#160;                <span class="keywordflow">throw</span> <a class="code" href="classShipCAD_1_1FileSaveError.html">FileSaveError</a>(<span class="stringliteral">&quot;unable to rename temporary to original&quot;</span>);</div><div class="line"><a name="l00808"></a><span class="lineno">  808</span>&#160;            cout &lt;&lt; <span class="stringliteral">&quot;renamed tmp to original\n&quot;</span>;</div><div class="line"><a name="l00809"></a><span class="lineno">  809</span>&#160;            <span class="comment">// all done with saving file</span></div><div class="line"><a name="l00810"></a><span class="lineno">  810</span>&#160;            emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l00811"></a><span class="lineno">  811</span>&#160;        } <span class="keywordflow">catch</span>(...) {</div><div class="line"><a name="l00812"></a><span class="lineno">  812</span>&#160;            <span class="keywordflow">if</span> (tmp.exists())</div><div class="line"><a name="l00813"></a><span class="lineno">  813</span>&#160;                tmp.remove();</div><div class="line"><a name="l00814"></a><span class="lineno">  814</span>&#160;            <span class="keywordflow">throw</span>;</div><div class="line"><a name="l00815"></a><span class="lineno">  815</span>&#160;        }</div><div class="line"><a name="l00816"></a><span class="lineno">  816</span>&#160;    } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00817"></a><span class="lineno">  817</span>&#160;        <span class="keywordflow">throw</span> invalid_argument(<span class="stringliteral">&quot;no filename for save&quot;</span>);</div><div class="line"><a name="l00818"></a><span class="lineno">  818</span>&#160;    }</div><div class="line"><a name="l00819"></a><span class="lineno">  819</span>&#160;}</div><div class="line"><a name="l00820"></a><span class="lineno">  820</span>&#160;</div><div class="line"><a name="l00821"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a619f8330daabbb575976910e7132c4d9">  821</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a619f8330daabbb575976910e7132c4d9">Controller::saveFileAs</a>(<span class="keyword">const</span> QString&amp; filename)</div><div class="line"><a name="l00822"></a><span class="lineno">  822</span>&#160;{</div><div class="line"><a name="l00823"></a><span class="lineno">  823</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::saveFileAs&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00824"></a><span class="lineno">  824</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a07daf75d876f80296f841f5c8d2327cb">setFilename</a>(filename);</div><div class="line"><a name="l00825"></a><span class="lineno">  825</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a4dbd04dffa55a42ec77f15d45909d55c">saveFile</a>();</div><div class="line"><a name="l00826"></a><span class="lineno">  826</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l00827"></a><span class="lineno">  827</span>&#160;}</div><div class="line"><a name="l00828"></a><span class="lineno">  828</span>&#160;</div><div class="line"><a name="l00829"></a><span class="lineno">  829</span>&#160;<span class="comment">// FreeShipUnit.pas:8352</span></div><div class="line"><a name="l00830"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#acdf0f8352ab57d4b52c40193f031909b">  830</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#acdf0f8352ab57d4b52c40193f031909b">Controller::addFlowline</a>(<span class="keyword">const</span> QVector2D&amp; source, <a class="code" href="classShipCAD_1_1Viewport.html">Viewport</a>&amp; vp)</div><div class="line"><a name="l00831"></a><span class="lineno">  831</span>&#160;{</div><div class="line"><a name="l00832"></a><span class="lineno">  832</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::addFlowline&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00833"></a><span class="lineno">  833</span>&#160;    <span class="comment">// msg 130</span></div><div class="line"><a name="l00834"></a><span class="lineno">  834</span>&#160;    <a class="code" href="classShipCAD_1_1UndoObject.html">UndoObject</a>* uo = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;Add flowline&quot;</span>), <span class="keyword">false</span>);</div><div class="line"><a name="l00835"></a><span class="lineno">  835</span>&#160;    <a class="code" href="classShipCAD_1_1Flowline.html">Flowline</a>* flowline = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a73494d53c57b4401f59f3feb3d73941b">addFlowline</a>(source,</div><div class="line"><a name="l00836"></a><span class="lineno">  836</span>&#160;                                                 vp.<a class="code" href="classShipCAD_1_1Viewport.html#a5f261a1925f09917013e8e532688326a">getViewportType</a>());</div><div class="line"><a name="l00837"></a><span class="lineno">  837</span>&#160;    <span class="keywordflow">if</span> (flowline != <span class="keyword">nullptr</span>) {</div><div class="line"><a name="l00838"></a><span class="lineno">  838</span>&#160;        uo-&gt;<a class="code" href="classShipCAD_1_1UndoObject.html#a93bad349f284a0ff1cece56aa931f9e3">accept</a>();</div><div class="line"><a name="l00839"></a><span class="lineno">  839</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l00840"></a><span class="lineno">  840</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l00841"></a><span class="lineno">  841</span>&#160;    }</div><div class="line"><a name="l00842"></a><span class="lineno">  842</span>&#160;    <span class="keywordflow">else</span> {</div><div class="line"><a name="l00843"></a><span class="lineno">  843</span>&#160;        <span class="keyword">delete</span> uo;</div><div class="line"><a name="l00844"></a><span class="lineno">  844</span>&#160;    }</div><div class="line"><a name="l00845"></a><span class="lineno">  845</span>&#160;}</div><div class="line"><a name="l00846"></a><span class="lineno">  846</span>&#160;</div><div class="line"><a name="l00847"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a3b4ee09db0e5df18f9f5d58048156117">  847</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a3b4ee09db0e5df18f9f5d58048156117">Controller::calculateHydrostatics</a>()</div><div class="line"><a name="l00848"></a><span class="lineno">  848</span>&#160;{</div><div class="line"><a name="l00849"></a><span class="lineno">  849</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l00850"></a><span class="lineno">  850</span>&#160;}</div><div class="line"><a name="l00851"></a><span class="lineno">  851</span>&#160;</div><div class="line"><a name="l00852"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a8e45334c9b25b8241ef4af126f6d5cc0">  852</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a8e45334c9b25b8241ef4af126f6d5cc0">Controller::crossCurvesHydrostatics</a>()</div><div class="line"><a name="l00853"></a><span class="lineno">  853</span>&#160;{</div><div class="line"><a name="l00854"></a><span class="lineno">  854</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l00855"></a><span class="lineno">  855</span>&#160;}</div><div class="line"><a name="l00856"></a><span class="lineno">  856</span>&#160;</div><div class="line"><a name="l00857"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#af3cb8f74ad629b252e41d18dd4eafaf5">  857</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#af3cb8f74ad629b252e41d18dd4eafaf5">Controller::hydrostaticsDialog</a>()</div><div class="line"><a name="l00858"></a><span class="lineno">  858</span>&#160;{</div><div class="line"><a name="l00859"></a><span class="lineno">  859</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l00860"></a><span class="lineno">  860</span>&#160;}</div><div class="line"><a name="l00861"></a><span class="lineno">  861</span>&#160;</div><div class="line"><a name="l00862"></a><span class="lineno">  862</span>&#160;<span class="comment">// FreeShipUnit.pas:8545</span></div><div class="line"><a name="l00863"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a48f50dda1f805bab3ad127f2051c6fa1">  863</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a48f50dda1f805bab3ad127f2051c6fa1">Controller::importFrames</a>(<span class="keyword">const</span> QString&amp; filename)</div><div class="line"><a name="l00864"></a><span class="lineno">  864</span>&#160;{</div><div class="line"><a name="l00865"></a><span class="lineno">  865</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::importFrames&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00866"></a><span class="lineno">  866</span>&#160;    Q_UNUSED(filename);</div><div class="line"><a name="l00867"></a><span class="lineno">  867</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l00868"></a><span class="lineno">  868</span>&#160;}</div><div class="line"><a name="l00869"></a><span class="lineno">  869</span>&#160;</div><div class="line"><a name="l00870"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a55278e6857b17ee49ed484430071159b">  870</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a55278e6857b17ee49ed484430071159b">Controller::addOrDeleteIntersections</a>(<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html">ShipCAD::IntersectionsDialogData</a>* data)</div><div class="line"><a name="l00871"></a><span class="lineno">  871</span>&#160;{</div><div class="line"><a name="l00872"></a><span class="lineno">  872</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::addOrDeleteIntersections&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00873"></a><span class="lineno">  873</span>&#160;    <span class="keywordtype">bool</span> changed = <span class="keyword">false</span>;</div><div class="line"><a name="l00874"></a><span class="lineno">  874</span>&#160;    <span class="keywordflow">if</span> (data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#ae423b73a2c8644594ac4c7f56125af9f">delete_all_intersections</a>) {</div><div class="line"><a name="l00875"></a><span class="lineno">  875</span>&#160;        cout &lt;&lt; <span class="stringliteral">&quot;Deleting all intersections&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00876"></a><span class="lineno">  876</span>&#160;        <a class="code" href="classPointerVector.html">IntersectionVector</a>&amp; iv = data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#a45fdbb695bb58187c24037aba1eabca6">intersection_type</a> == <a class="code" href="namespaceShipCAD.html#aa56834b730aafdf2786ddc9a60a046fdaf57b8e7252f2c55c001df410276926e3">fiStation</a> ? <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a86da3ca66e90403ead21ccc67f584c52">getStations</a>()</div><div class="line"><a name="l00877"></a><span class="lineno">  877</span>&#160;            : (data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#a45fdbb695bb58187c24037aba1eabca6">intersection_type</a> == <a class="code" href="namespaceShipCAD.html#aa56834b730aafdf2786ddc9a60a046fda44c99d1edb96c2c22b5661d927eb9041">fiWaterline</a> ? <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a6c147a75fa02e43145de346efb9542fd">getWaterlines</a>()</div><div class="line"><a name="l00878"></a><span class="lineno">  878</span>&#160;               : (data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#a45fdbb695bb58187c24037aba1eabca6">intersection_type</a> == <a class="code" href="namespaceShipCAD.html#aa56834b730aafdf2786ddc9a60a046fdabcf8818401977200b532a1e18ec2df70">fiButtock</a> ? <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a8908d7adff0b1aa1ed118103c02c5402">getButtocks</a>()</div><div class="line"><a name="l00879"></a><span class="lineno">  879</span>&#160;                  : <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a19864f7628c596553f7c89247715b10a">getDiagonals</a>()));</div><div class="line"><a name="l00880"></a><span class="lineno">  880</span>&#160;        iv.<a class="code" href="classPointerVector.html#a9f708acfaa3ce26d14b02d8e285c8729">clear</a>();</div><div class="line"><a name="l00881"></a><span class="lineno">  881</span>&#160;        changed = <span class="keyword">true</span>;</div><div class="line"><a name="l00882"></a><span class="lineno">  882</span>&#160;    } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#a0b612a856d1875fb0062907fb1cc77a7">delete_intersections</a>) {</div><div class="line"><a name="l00883"></a><span class="lineno">  883</span>&#160;        cout &lt;&lt; <span class="stringliteral">&quot;Deleting &quot;</span> &lt;&lt; data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#ac2a5677d64845ff41b99f05f590170f8">intersection_offsets</a>.size() &lt;&lt; <span class="stringliteral">&quot; intersections&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00884"></a><span class="lineno">  884</span>&#160;        <a class="code" href="classPointerVector.html">IntersectionVector</a>&amp; iv = data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#a45fdbb695bb58187c24037aba1eabca6">intersection_type</a> == <a class="code" href="namespaceShipCAD.html#aa56834b730aafdf2786ddc9a60a046fdaf57b8e7252f2c55c001df410276926e3">fiStation</a> ? <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a86da3ca66e90403ead21ccc67f584c52">getStations</a>()</div><div class="line"><a name="l00885"></a><span class="lineno">  885</span>&#160;            : (data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#a45fdbb695bb58187c24037aba1eabca6">intersection_type</a> == <a class="code" href="namespaceShipCAD.html#aa56834b730aafdf2786ddc9a60a046fda44c99d1edb96c2c22b5661d927eb9041">fiWaterline</a> ? <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a6c147a75fa02e43145de346efb9542fd">getWaterlines</a>()</div><div class="line"><a name="l00886"></a><span class="lineno">  886</span>&#160;               : (data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#a45fdbb695bb58187c24037aba1eabca6">intersection_type</a> == <a class="code" href="namespaceShipCAD.html#aa56834b730aafdf2786ddc9a60a046fdabcf8818401977200b532a1e18ec2df70">fiButtock</a> ? <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a8908d7adff0b1aa1ed118103c02c5402">getButtocks</a>()</div><div class="line"><a name="l00887"></a><span class="lineno">  887</span>&#160;                  : <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a19864f7628c596553f7c89247715b10a">getDiagonals</a>()));</div><div class="line"><a name="l00888"></a><span class="lineno">  888</span>&#160;        <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=0; i&lt;data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#ac2a5677d64845ff41b99f05f590170f8">intersection_offsets</a>.size(); ++i) {</div><div class="line"><a name="l00889"></a><span class="lineno">  889</span>&#160;            <a class="code" href="structShipCAD_1_1IntersectionFinder.html">IntersectionFinder</a> elemfinder(data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#ac2a5677d64845ff41b99f05f590170f8">intersection_offsets</a>[i]);</div><div class="line"><a name="l00890"></a><span class="lineno">  890</span>&#160;            vector&lt;Intersection*&gt;::iterator itr = find_if(iv.<a class="code" href="classPointerVector.html#a594866129f2e9a3701c1f414ca3299e3">begin</a>(), iv.<a class="code" href="classPointerVector.html#a6182f5429c4c98ba2556d40484aab2f9">end</a>(), elemfinder);</div><div class="line"><a name="l00891"></a><span class="lineno">  891</span>&#160;            iv.<a class="code" href="classPointerVector.html#a1107df98d34db68e3153e67196a16a11">erase</a>(itr);</div><div class="line"><a name="l00892"></a><span class="lineno">  892</span>&#160;            changed = <span class="keyword">true</span>;</div><div class="line"><a name="l00893"></a><span class="lineno">  893</span>&#160;        }</div><div class="line"><a name="l00894"></a><span class="lineno">  894</span>&#160;        data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#ac2a5677d64845ff41b99f05f590170f8">intersection_offsets</a>.clear();</div><div class="line"><a name="l00895"></a><span class="lineno">  895</span>&#160;    } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#a07f300ae3f6ec124a932ac88d7380194">add_range</a> &amp;&amp; data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#ac2a5677d64845ff41b99f05f590170f8">intersection_offsets</a>.size() == 1) {</div><div class="line"><a name="l00896"></a><span class="lineno">  896</span>&#160;        cout &lt;&lt; <span class="stringliteral">&quot;Adding range of intersections&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00897"></a><span class="lineno">  897</span>&#160;        <span class="keywordflow">if</span> (data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#ac2a5677d64845ff41b99f05f590170f8">intersection_offsets</a>[0] &lt; 1E-3) {</div><div class="line"><a name="l00898"></a><span class="lineno">  898</span>&#160;            data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#ac2a5677d64845ff41b99f05f590170f8">intersection_offsets</a>.clear();</div><div class="line"><a name="l00899"></a><span class="lineno">  899</span>&#160;            <span class="keywordflow">return</span>;</div><div class="line"><a name="l00900"></a><span class="lineno">  900</span>&#160;        }</div><div class="line"><a name="l00901"></a><span class="lineno">  901</span>&#160;        QVector3D min, max;</div><div class="line"><a name="l00902"></a><span class="lineno">  902</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a7ab84a738b747c4fcb2c3627e56d4bd0">extents</a>(min, max);</div><div class="line"><a name="l00903"></a><span class="lineno">  903</span>&#160;        <span class="keywordtype">float</span> start, stop;</div><div class="line"><a name="l00904"></a><span class="lineno">  904</span>&#160;        <span class="keywordflow">switch</span>(data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#a45fdbb695bb58187c24037aba1eabca6">intersection_type</a>) {</div><div class="line"><a name="l00905"></a><span class="lineno">  905</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="namespaceShipCAD.html#aa56834b730aafdf2786ddc9a60a046fdaf57b8e7252f2c55c001df410276926e3">fiStation</a>:</div><div class="line"><a name="l00906"></a><span class="lineno">  906</span>&#160;            start = min.x();</div><div class="line"><a name="l00907"></a><span class="lineno">  907</span>&#160;            stop = max.x();</div><div class="line"><a name="l00908"></a><span class="lineno">  908</span>&#160;            <span class="keywordflow">break</span>;</div><div class="line"><a name="l00909"></a><span class="lineno">  909</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="namespaceShipCAD.html#aa56834b730aafdf2786ddc9a60a046fdabcf8818401977200b532a1e18ec2df70">fiButtock</a>:</div><div class="line"><a name="l00910"></a><span class="lineno">  910</span>&#160;            start = 0.0;</div><div class="line"><a name="l00911"></a><span class="lineno">  911</span>&#160;            stop = max.y();</div><div class="line"><a name="l00912"></a><span class="lineno">  912</span>&#160;            <span class="keywordflow">break</span>;</div><div class="line"><a name="l00913"></a><span class="lineno">  913</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="namespaceShipCAD.html#aa56834b730aafdf2786ddc9a60a046fda44c99d1edb96c2c22b5661d927eb9041">fiWaterline</a>:</div><div class="line"><a name="l00914"></a><span class="lineno">  914</span>&#160;            start = min.z();</div><div class="line"><a name="l00915"></a><span class="lineno">  915</span>&#160;            stop = max.z();</div><div class="line"><a name="l00916"></a><span class="lineno">  916</span>&#160;            <span class="keywordflow">break</span>;</div><div class="line"><a name="l00917"></a><span class="lineno">  917</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="namespaceShipCAD.html#aa56834b730aafdf2786ddc9a60a046fda5631b7711c628bad5c561953eaac2863">fiDiagonal</a>:</div><div class="line"><a name="l00918"></a><span class="lineno">  918</span>&#160;            start = min.z();</div><div class="line"><a name="l00919"></a><span class="lineno">  919</span>&#160;            stop = 2 * max.z();</div><div class="line"><a name="l00920"></a><span class="lineno">  920</span>&#160;            <span class="keywordflow">break</span>;</div><div class="line"><a name="l00921"></a><span class="lineno">  921</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="namespaceShipCAD.html#aa56834b730aafdf2786ddc9a60a046fda8e5e5dc412191234863fae2f98709477">fiFree</a>:</div><div class="line"><a name="l00922"></a><span class="lineno">  922</span>&#160;            start = 0.0;</div><div class="line"><a name="l00923"></a><span class="lineno">  923</span>&#160;            stop = -0.01;</div><div class="line"><a name="l00924"></a><span class="lineno">  924</span>&#160;            <span class="keywordflow">break</span>;</div><div class="line"><a name="l00925"></a><span class="lineno">  925</span>&#160;        }</div><div class="line"><a name="l00926"></a><span class="lineno">  926</span>&#160;        <span class="keywordtype">double</span> iptr;</div><div class="line"><a name="l00927"></a><span class="lineno">  927</span>&#160;        modf((start / data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#ac2a5677d64845ff41b99f05f590170f8">intersection_offsets</a>[0]) - 2, &amp;iptr);</div><div class="line"><a name="l00928"></a><span class="lineno">  928</span>&#160;        <span class="keywordtype">int</span> index = <span class="keyword">static_cast&lt;</span><span class="keywordtype">int</span><span class="keyword">&gt;</span>(iptr);</div><div class="line"><a name="l00929"></a><span class="lineno">  929</span>&#160;        start = index * data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#ac2a5677d64845ff41b99f05f590170f8">intersection_offsets</a>[0];</div><div class="line"><a name="l00930"></a><span class="lineno">  930</span>&#160;        <span class="keywordflow">while</span> (start &lt;= stop) {</div><div class="line"><a name="l00931"></a><span class="lineno">  931</span>&#160;            <a class="code" href="classShipCAD_1_1Intersection.html">Intersection</a>* inter = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a83e2091e476b3ea89c75ecb25f46268b">createIntersection</a>(data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#a45fdbb695bb58187c24037aba1eabca6">intersection_type</a>, start);</div><div class="line"><a name="l00932"></a><span class="lineno">  932</span>&#160;            <span class="keywordflow">if</span> (inter == <span class="keyword">nullptr</span>) {</div><div class="line"><a name="l00933"></a><span class="lineno">  933</span>&#160;                <span class="comment">// show dialog that says no intersection</span></div><div class="line"><a name="l00934"></a><span class="lineno">  934</span>&#160;                emit <a class="code" href="classShipCAD_1_1Controller.html#a108f5d44546cab9a8e58a7e8d187a68e">displayWarningDialog</a>(tr(<span class="stringliteral">&quot;Intersection distance %1 doesn&#39;t intersect hull.&quot;</span>).arg(start));</div><div class="line"><a name="l00935"></a><span class="lineno">  935</span>&#160;            } <span class="keywordflow">else</span></div><div class="line"><a name="l00936"></a><span class="lineno">  936</span>&#160;                changed = <span class="keyword">true</span>;</div><div class="line"><a name="l00937"></a><span class="lineno">  937</span>&#160;            start += data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#ac2a5677d64845ff41b99f05f590170f8">intersection_offsets</a>[0];</div><div class="line"><a name="l00938"></a><span class="lineno">  938</span>&#160;        }</div><div class="line"><a name="l00939"></a><span class="lineno">  939</span>&#160;        data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#ac2a5677d64845ff41b99f05f590170f8">intersection_offsets</a>.clear();</div><div class="line"><a name="l00940"></a><span class="lineno">  940</span>&#160;    } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (!data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#a07f300ae3f6ec124a932ac88d7380194">add_range</a> &amp;&amp; data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#ac2a5677d64845ff41b99f05f590170f8">intersection_offsets</a>.size() == 1) {</div><div class="line"><a name="l00941"></a><span class="lineno">  941</span>&#160;        cout &lt;&lt; <span class="stringliteral">&quot;Adding intersection&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00942"></a><span class="lineno">  942</span>&#160;        <a class="code" href="classShipCAD_1_1Intersection.html">Intersection</a>* inter = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a83e2091e476b3ea89c75ecb25f46268b">createIntersection</a>(data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#a45fdbb695bb58187c24037aba1eabca6">intersection_type</a>,</div><div class="line"><a name="l00943"></a><span class="lineno">  943</span>&#160;                                                             data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#ac2a5677d64845ff41b99f05f590170f8">intersection_offsets</a>[0]);</div><div class="line"><a name="l00944"></a><span class="lineno">  944</span>&#160;        data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#ac2a5677d64845ff41b99f05f590170f8">intersection_offsets</a>.clear();</div><div class="line"><a name="l00945"></a><span class="lineno">  945</span>&#160;        <span class="keywordflow">if</span> (inter == <span class="keyword">nullptr</span>) {</div><div class="line"><a name="l00946"></a><span class="lineno">  946</span>&#160;            <span class="comment">// show dialog that says no intersection</span></div><div class="line"><a name="l00947"></a><span class="lineno">  947</span>&#160;            emit <a class="code" href="classShipCAD_1_1Controller.html#a108f5d44546cab9a8e58a7e8d187a68e">displayWarningDialog</a>(tr(<span class="stringliteral">&quot;Intersection distance %1 doesn&#39;t intersect hull.&quot;</span>).arg(data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#ac2a5677d64845ff41b99f05f590170f8">intersection_offsets</a>[0]));</div><div class="line"><a name="l00948"></a><span class="lineno">  948</span>&#160;        } <span class="keywordflow">else</span></div><div class="line"><a name="l00949"></a><span class="lineno">  949</span>&#160;            changed = <span class="keyword">true</span>;</div><div class="line"><a name="l00950"></a><span class="lineno">  950</span>&#160;    }</div><div class="line"><a name="l00951"></a><span class="lineno">  951</span>&#160;    <span class="keywordflow">if</span> (changed) {</div><div class="line"><a name="l00952"></a><span class="lineno">  952</span>&#160;        <span class="keywordflow">switch</span>(data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#a45fdbb695bb58187c24037aba1eabca6">intersection_type</a>) {</div><div class="line"><a name="l00953"></a><span class="lineno">  953</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="namespaceShipCAD.html#aa56834b730aafdf2786ddc9a60a046fdaf57b8e7252f2c55c001df410276926e3">fiStation</a>:</div><div class="line"><a name="l00954"></a><span class="lineno">  954</span>&#160;            data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#a15b25bd4167a7eb4bc24240f98ec83ad">stations</a>.<a class="code" href="classPointerVector.html#a9f708acfaa3ce26d14b02d8e285c8729">clear</a>();</div><div class="line"><a name="l00955"></a><span class="lineno">  955</span>&#160;            data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#a15b25bd4167a7eb4bc24240f98ec83ad">stations</a>.<a class="code" href="classPointerVector.html#a0a7659a1819768998582533c65825501">insert</a>(data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#a15b25bd4167a7eb4bc24240f98ec83ad">stations</a>.<a class="code" href="classPointerVector.html#a594866129f2e9a3701c1f414ca3299e3">begin</a>(), <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a86da3ca66e90403ead21ccc67f584c52">getStations</a>().<a class="code" href="classPointerVector.html#a594866129f2e9a3701c1f414ca3299e3">begin</a>(),</div><div class="line"><a name="l00956"></a><span class="lineno">  956</span>&#160;                                  <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a86da3ca66e90403ead21ccc67f584c52">getStations</a>().<a class="code" href="classPointerVector.html#a6182f5429c4c98ba2556d40484aab2f9">end</a>());</div><div class="line"><a name="l00957"></a><span class="lineno">  957</span>&#160;            <span class="keywordflow">break</span>;</div><div class="line"><a name="l00958"></a><span class="lineno">  958</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="namespaceShipCAD.html#aa56834b730aafdf2786ddc9a60a046fdabcf8818401977200b532a1e18ec2df70">fiButtock</a>:</div><div class="line"><a name="l00959"></a><span class="lineno">  959</span>&#160;            data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#a42e8714909a6cb3f20d4508e3ed3d7cd">buttocks</a>.<a class="code" href="classPointerVector.html#a9f708acfaa3ce26d14b02d8e285c8729">clear</a>();</div><div class="line"><a name="l00960"></a><span class="lineno">  960</span>&#160;            data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#a42e8714909a6cb3f20d4508e3ed3d7cd">buttocks</a>.<a class="code" href="classPointerVector.html#a0a7659a1819768998582533c65825501">insert</a>(data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#a42e8714909a6cb3f20d4508e3ed3d7cd">buttocks</a>.<a class="code" href="classPointerVector.html#a594866129f2e9a3701c1f414ca3299e3">begin</a>(), <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a8908d7adff0b1aa1ed118103c02c5402">getButtocks</a>().<a class="code" href="classPointerVector.html#a594866129f2e9a3701c1f414ca3299e3">begin</a>(),</div><div class="line"><a name="l00961"></a><span class="lineno">  961</span>&#160;                                  <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a8908d7adff0b1aa1ed118103c02c5402">getButtocks</a>().<a class="code" href="classPointerVector.html#a6182f5429c4c98ba2556d40484aab2f9">end</a>());</div><div class="line"><a name="l00962"></a><span class="lineno">  962</span>&#160;            <span class="keywordflow">break</span>;</div><div class="line"><a name="l00963"></a><span class="lineno">  963</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="namespaceShipCAD.html#aa56834b730aafdf2786ddc9a60a046fda44c99d1edb96c2c22b5661d927eb9041">fiWaterline</a>:</div><div class="line"><a name="l00964"></a><span class="lineno">  964</span>&#160;            data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#a239c93bd2e10930a0b73fa4a491b3332">waterlines</a>.<a class="code" href="classPointerVector.html#a9f708acfaa3ce26d14b02d8e285c8729">clear</a>();</div><div class="line"><a name="l00965"></a><span class="lineno">  965</span>&#160;            data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#a239c93bd2e10930a0b73fa4a491b3332">waterlines</a>.<a class="code" href="classPointerVector.html#a0a7659a1819768998582533c65825501">insert</a>(data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#a239c93bd2e10930a0b73fa4a491b3332">waterlines</a>.<a class="code" href="classPointerVector.html#a594866129f2e9a3701c1f414ca3299e3">begin</a>(), <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a6c147a75fa02e43145de346efb9542fd">getWaterlines</a>().<a class="code" href="classPointerVector.html#a594866129f2e9a3701c1f414ca3299e3">begin</a>(),</div><div class="line"><a name="l00966"></a><span class="lineno">  966</span>&#160;                                    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a6c147a75fa02e43145de346efb9542fd">getWaterlines</a>().<a class="code" href="classPointerVector.html#a6182f5429c4c98ba2556d40484aab2f9">end</a>());</div><div class="line"><a name="l00967"></a><span class="lineno">  967</span>&#160;            <span class="keywordflow">break</span>;</div><div class="line"><a name="l00968"></a><span class="lineno">  968</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="namespaceShipCAD.html#aa56834b730aafdf2786ddc9a60a046fda5631b7711c628bad5c561953eaac2863">fiDiagonal</a>:</div><div class="line"><a name="l00969"></a><span class="lineno">  969</span>&#160;            data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#aa646939995a2b52262724964a6e1fd47">diagonals</a>.<a class="code" href="classPointerVector.html#a9f708acfaa3ce26d14b02d8e285c8729">clear</a>();</div><div class="line"><a name="l00970"></a><span class="lineno">  970</span>&#160;            data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#aa646939995a2b52262724964a6e1fd47">diagonals</a>.<a class="code" href="classPointerVector.html#a0a7659a1819768998582533c65825501">insert</a>(data-&gt;<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#aa646939995a2b52262724964a6e1fd47">diagonals</a>.<a class="code" href="classPointerVector.html#a594866129f2e9a3701c1f414ca3299e3">begin</a>(), <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a19864f7628c596553f7c89247715b10a">getDiagonals</a>().<a class="code" href="classPointerVector.html#a594866129f2e9a3701c1f414ca3299e3">begin</a>(),</div><div class="line"><a name="l00971"></a><span class="lineno">  971</span>&#160;                                   <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a19864f7628c596553f7c89247715b10a">getDiagonals</a>().<a class="code" href="classPointerVector.html#a6182f5429c4c98ba2556d40484aab2f9">end</a>());</div><div class="line"><a name="l00972"></a><span class="lineno">  972</span>&#160;            <span class="keywordflow">break</span>;</div><div class="line"><a name="l00973"></a><span class="lineno">  973</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="namespaceShipCAD.html#aa56834b730aafdf2786ddc9a60a046fda8e5e5dc412191234863fae2f98709477">fiFree</a>:</div><div class="line"><a name="l00974"></a><span class="lineno">  974</span>&#160;            <span class="keywordflow">throw</span> logic_error(<span class="stringliteral">&quot;fiFree not allowed in addOrDeleteIntersections&quot;</span>);</div><div class="line"><a name="l00975"></a><span class="lineno">  975</span>&#160;        }</div><div class="line"><a name="l00976"></a><span class="lineno">  976</span>&#160;</div><div class="line"><a name="l00977"></a><span class="lineno">  977</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ab221977f2a8bd4d51d6ee777be0d7b8a">setBuild</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l00978"></a><span class="lineno">  978</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l00979"></a><span class="lineno">  979</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l00980"></a><span class="lineno">  980</span>&#160;    }</div><div class="line"><a name="l00981"></a><span class="lineno">  981</span>&#160;}</div><div class="line"><a name="l00982"></a><span class="lineno">  982</span>&#160;</div><div class="line"><a name="l00983"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a807f729e06e1ea1dde775bed14857956">  983</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a807f729e06e1ea1dde775bed14857956">Controller::intersectionsDialog</a>()</div><div class="line"><a name="l00984"></a><span class="lineno">  984</span>&#160;{</div><div class="line"><a name="l00985"></a><span class="lineno">  985</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::intersectionsDialog&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00986"></a><span class="lineno">  986</span>&#160;    <a class="code" href="classShipCAD_1_1UndoObject.html">UndoObject</a>* uo = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;edit intersections&quot;</span>), <span class="keyword">false</span>);</div><div class="line"><a name="l00987"></a><span class="lineno">  987</span>&#160;    <a class="code" href="structShipCAD_1_1IntersectionsDialogData.html">IntersectionsDialogData</a> data(<a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>());</div><div class="line"><a name="l00988"></a><span class="lineno">  988</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#afbadc6404e43960f4f41d37832a2c8a6">exeIntersectionsDialog</a>(&amp;data);</div><div class="line"><a name="l00989"></a><span class="lineno">  989</span>&#160;    <span class="keywordflow">if</span> (data.<a class="code" href="structShipCAD_1_1IntersectionsDialogData.html#a3f9b8b74cdacaed5cfdf2026dfaf2d75">changed</a>) {</div><div class="line"><a name="l00990"></a><span class="lineno">  990</span>&#160;        uo-&gt;<a class="code" href="classShipCAD_1_1UndoObject.html#a93bad349f284a0ff1cece56aa931f9e3">accept</a>();</div><div class="line"><a name="l00991"></a><span class="lineno">  991</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l00992"></a><span class="lineno">  992</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l00993"></a><span class="lineno">  993</span>&#160;    } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00994"></a><span class="lineno">  994</span>&#160;        <span class="keyword">delete</span> uo;</div><div class="line"><a name="l00995"></a><span class="lineno">  995</span>&#160;    }</div><div class="line"><a name="l00996"></a><span class="lineno">  996</span>&#160;}</div><div class="line"><a name="l00997"></a><span class="lineno">  997</span>&#160;</div><div class="line"><a name="l00998"></a><span class="lineno">  998</span>&#160;<span class="comment">// FreeShipUnit.pas:9128</span></div><div class="line"><a name="l00999"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a72c34ce03882c0bb27603cb69af988a6">  999</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a72c34ce03882c0bb27603cb69af988a6">Controller::autoGroupLayer</a>()</div><div class="line"><a name="l01000"></a><span class="lineno"> 1000</span>&#160;{</div><div class="line"><a name="l01001"></a><span class="lineno"> 1001</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::autoGroupLayer&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01002"></a><span class="lineno"> 1002</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionSurface.html">SubdivisionSurface</a>* surf = <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>();</div><div class="line"><a name="l01003"></a><span class="lineno"> 1003</span>&#160;    <span class="comment">// msg 0139</span></div><div class="line"><a name="l01004"></a><span class="lineno"> 1004</span>&#160;    <a class="code" href="classShipCAD_1_1UndoObject.html">UndoObject</a>* uo = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;layer grouping&quot;</span>), <span class="keyword">false</span>);</div><div class="line"><a name="l01005"></a><span class="lineno"> 1005</span>&#160;    <span class="keywordflow">if</span> (surf-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a23fcec4dbb0650c37519b908c63b58ee">autoGroupFaces</a>()) {</div><div class="line"><a name="l01006"></a><span class="lineno"> 1006</span>&#160;        surf-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#ae250dca383fa87327a0ea85c933af0d2">deleteEmptyLayers</a>();</div><div class="line"><a name="l01007"></a><span class="lineno"> 1007</span>&#160;        surf-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a69bafa71111e562a52a089be99b47871">setActiveLayer</a>(surf-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a24b230e51a0c5fb3e7f51d0e2340eb9f">getLayer</a>(surf-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a011480014cfb68430c9f60aff474936c">numberOfLayers</a>() - 1));</div><div class="line"><a name="l01008"></a><span class="lineno"> 1008</span>&#160;        uo-&gt;<a class="code" href="classShipCAD_1_1UndoObject.html#a93bad349f284a0ff1cece56aa931f9e3">accept</a>();</div><div class="line"><a name="l01009"></a><span class="lineno"> 1009</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01010"></a><span class="lineno"> 1010</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01011"></a><span class="lineno"> 1011</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#aea2802b3826e7b6f7d5eae78db07f7e0">changeActiveLayer</a>();</div><div class="line"><a name="l01012"></a><span class="lineno"> 1012</span>&#160;    } <span class="keywordflow">else</span></div><div class="line"><a name="l01013"></a><span class="lineno"> 1013</span>&#160;        <span class="keyword">delete</span> uo;</div><div class="line"><a name="l01014"></a><span class="lineno"> 1014</span>&#160;}</div><div class="line"><a name="l01015"></a><span class="lineno"> 1015</span>&#160;</div><div class="line"><a name="l01016"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a3e7966e9726ba79f9978e691ce096964"> 1016</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a3e7966e9726ba79f9978e691ce096964">Controller::developLayers</a>()</div><div class="line"><a name="l01017"></a><span class="lineno"> 1017</span>&#160;{</div><div class="line"><a name="l01018"></a><span class="lineno"> 1018</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l01019"></a><span class="lineno"> 1019</span>&#160;}</div><div class="line"><a name="l01020"></a><span class="lineno"> 1020</span>&#160;</div><div class="line"><a name="l01021"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#abcbf0d12a0bbdbf62fd56e12e7dd466c"> 1021</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#abcbf0d12a0bbdbf62fd56e12e7dd466c">Controller::layerDialogComplete</a>(<a class="code" href="structShipCAD_1_1LayerDialogData.html">ShipCAD::LayerDialogData</a>* data)</div><div class="line"><a name="l01022"></a><span class="lineno"> 1022</span>&#160;{</div><div class="line"><a name="l01023"></a><span class="lineno"> 1023</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::layerDialogComplete&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01024"></a><span class="lineno"> 1024</span>&#160;    <a class="code" href="classShipCAD_1_1UndoObject.html">UndoObject</a>* uo = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;edit layers&quot;</span>), <span class="keyword">false</span>);</div><div class="line"><a name="l01025"></a><span class="lineno"> 1025</span>&#160;    <span class="keywordtype">bool</span> changed = <span class="keyword">false</span>;</div><div class="line"><a name="l01026"></a><span class="lineno"> 1026</span>&#160;    vector&lt;SubdivisionLayer*&gt;::iterator itr = <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a2edced5f3a542be51b857e92ecfbf63e">getLayers</a>().begin();</div><div class="line"><a name="l01027"></a><span class="lineno"> 1027</span>&#160;    <span class="keywordtype">size_t</span> count = 0;</div><div class="line"><a name="l01028"></a><span class="lineno"> 1028</span>&#160;    <span class="keywordflow">for</span> (; itr!=<a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a2edced5f3a542be51b857e92ecfbf63e">getLayers</a>().end(); ++itr) {</div><div class="line"><a name="l01029"></a><span class="lineno"> 1029</span>&#160;        <span class="keywordflow">if</span> ((*itr)-&gt;setProperties(data-&gt;<a class="code" href="structShipCAD_1_1LayerDialogData.html#a9ba6f5373c88460d880811ad835d74f1">layers</a>[count++]))</div><div class="line"><a name="l01030"></a><span class="lineno"> 1030</span>&#160;            changed = <span class="keyword">true</span>;</div><div class="line"><a name="l01031"></a><span class="lineno"> 1031</span>&#160;    }</div><div class="line"><a name="l01032"></a><span class="lineno"> 1032</span>&#160;    <span class="keywordflow">if</span> (changed) {</div><div class="line"><a name="l01033"></a><span class="lineno"> 1033</span>&#160;        uo-&gt;<a class="code" href="classShipCAD_1_1UndoObject.html#a93bad349f284a0ff1cece56aa931f9e3">accept</a>();</div><div class="line"><a name="l01034"></a><span class="lineno"> 1034</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01035"></a><span class="lineno"> 1035</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01036"></a><span class="lineno"> 1036</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#aea2802b3826e7b6f7d5eae78db07f7e0">changeActiveLayer</a>();</div><div class="line"><a name="l01037"></a><span class="lineno"> 1037</span>&#160;    } <span class="keywordflow">else</span></div><div class="line"><a name="l01038"></a><span class="lineno"> 1038</span>&#160;        <span class="keyword">delete</span> uo;</div><div class="line"><a name="l01039"></a><span class="lineno"> 1039</span>&#160;}</div><div class="line"><a name="l01040"></a><span class="lineno"> 1040</span>&#160;</div><div class="line"><a name="l01041"></a><span class="lineno"> 1041</span>&#160;<span class="comment">// FreeShipUnit.pas:9316</span></div><div class="line"><a name="l01042"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a2b966f1434e1df01e0bfd589cdb7425d"> 1042</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a2b966f1434e1df01e0bfd589cdb7425d">Controller::deleteEmptyLayers</a>()</div><div class="line"><a name="l01043"></a><span class="lineno"> 1043</span>&#160;{</div><div class="line"><a name="l01044"></a><span class="lineno"> 1044</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::deleteEmptyLayers&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01045"></a><span class="lineno"> 1045</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionSurface.html">SubdivisionSurface</a>* surf = <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>();</div><div class="line"><a name="l01046"></a><span class="lineno"> 1046</span>&#160;    <span class="comment">// msg 0140</span></div><div class="line"><a name="l01047"></a><span class="lineno"> 1047</span>&#160;    <a class="code" href="classShipCAD_1_1UndoObject.html">UndoObject</a>* uo = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;delete empty layers&quot;</span>), <span class="keyword">false</span>);</div><div class="line"><a name="l01048"></a><span class="lineno"> 1048</span>&#160;    <span class="keywordtype">size_t</span> n = surf-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#ae250dca383fa87327a0ea85c933af0d2">deleteEmptyLayers</a>();</div><div class="line"><a name="l01049"></a><span class="lineno"> 1049</span>&#160;    <span class="keywordflow">if</span> (surf-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a5f2fbd88c0652692848f71945c6e34b8">getActiveLayer</a>() == 0)</div><div class="line"><a name="l01050"></a><span class="lineno"> 1050</span>&#160;        surf-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a69bafa71111e562a52a089be99b47871">setActiveLayer</a>(surf-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a24b230e51a0c5fb3e7f51d0e2340eb9f">getLayer</a>(surf-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a011480014cfb68430c9f60aff474936c">numberOfLayers</a>() - 1));</div><div class="line"><a name="l01051"></a><span class="lineno"> 1051</span>&#160;    <span class="keywordflow">if</span> (n &gt; 0) {</div><div class="line"><a name="l01052"></a><span class="lineno"> 1052</span>&#160;        uo-&gt;<a class="code" href="classShipCAD_1_1UndoObject.html#a93bad349f284a0ff1cece56aa931f9e3">accept</a>();</div><div class="line"><a name="l01053"></a><span class="lineno"> 1053</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01054"></a><span class="lineno"> 1054</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01055"></a><span class="lineno"> 1055</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#aea2802b3826e7b6f7d5eae78db07f7e0">changeActiveLayer</a>();</div><div class="line"><a name="l01056"></a><span class="lineno"> 1056</span>&#160;        <span class="comment">// msg 0141</span></div><div class="line"><a name="l01057"></a><span class="lineno"> 1057</span>&#160;        QString msg(tr(<span class="stringliteral">&quot;%1 empty layers deleted&quot;</span>).arg(n));</div><div class="line"><a name="l01058"></a><span class="lineno"> 1058</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#a5e3d8876bd01217eda54b73c06a42d47">displayInfoDialog</a>(msg);</div><div class="line"><a name="l01059"></a><span class="lineno"> 1059</span>&#160;    } <span class="keywordflow">else</span></div><div class="line"><a name="l01060"></a><span class="lineno"> 1060</span>&#160;        <span class="keyword">delete</span> uo;</div><div class="line"><a name="l01061"></a><span class="lineno"> 1061</span>&#160;}</div><div class="line"><a name="l01062"></a><span class="lineno"> 1062</span>&#160;</div><div class="line"><a name="l01063"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a50f9ae11d46f3851c65fa8c969c5f8c3"> 1063</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a50f9ae11d46f3851c65fa8c969c5f8c3">Controller::reorderLayerList</a>(<a class="code" href="structShipCAD_1_1LayerDialogData.html">LayerDialogData</a>* data)</div><div class="line"><a name="l01064"></a><span class="lineno"> 1064</span>&#160;{</div><div class="line"><a name="l01065"></a><span class="lineno"> 1065</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::reorderLayerList&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01066"></a><span class="lineno"> 1066</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;reorder layers&quot;</span>), <span class="keyword">true</span>);</div><div class="line"><a name="l01067"></a><span class="lineno"> 1067</span>&#160;    vector&lt;SubdivisionLayer*&gt; reordered;</div><div class="line"><a name="l01068"></a><span class="lineno"> 1068</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=0; i&lt;data-&gt;<a class="code" href="structShipCAD_1_1LayerDialogData.html#a9ba6f5373c88460d880811ad835d74f1">layers</a>.size(); i++)</div><div class="line"><a name="l01069"></a><span class="lineno"> 1069</span>&#160;        reordered.push_back(const_cast&lt;SubdivisionLayer*&gt;(data-&gt;<a class="code" href="structShipCAD_1_1LayerDialogData.html#a9ba6f5373c88460d880811ad835d74f1">layers</a>[i].data));</div><div class="line"><a name="l01070"></a><span class="lineno"> 1070</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a2edced5f3a542be51b857e92ecfbf63e">getLayers</a>().swap(reordered);</div><div class="line"><a name="l01071"></a><span class="lineno"> 1071</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01072"></a><span class="lineno"> 1072</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01073"></a><span class="lineno"> 1073</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#aea2802b3826e7b6f7d5eae78db07f7e0">changeActiveLayer</a>();</div><div class="line"><a name="l01074"></a><span class="lineno"> 1074</span>&#160;}</div><div class="line"><a name="l01075"></a><span class="lineno"> 1075</span>&#160;</div><div class="line"><a name="l01076"></a><span class="lineno"> 1076</span>&#160;<span class="comment">// FreeShipUnit.pas:9349</span></div><div class="line"><a name="l01077"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#af94f1596031595184251f2f513ee8bd9"> 1077</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#af94f1596031595184251f2f513ee8bd9">Controller::newLayer</a>()</div><div class="line"><a name="l01078"></a><span class="lineno"> 1078</span>&#160;{</div><div class="line"><a name="l01079"></a><span class="lineno"> 1079</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::newLayer&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01080"></a><span class="lineno"> 1080</span>&#160;    <span class="comment">// msg 0142</span></div><div class="line"><a name="l01081"></a><span class="lineno"> 1081</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;new layer&quot;</span>), <span class="keyword">true</span>);</div><div class="line"><a name="l01082"></a><span class="lineno"> 1082</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionLayer.html">SubdivisionLayer</a>* layer = <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a5bf8f452664e17dae636d4b66a66eba9">addNewLayer</a>();</div><div class="line"><a name="l01083"></a><span class="lineno"> 1083</span>&#160;    layer-&gt;<a class="code" href="classShipCAD_1_1SubdivisionLayer.html#a5494031433242c810e6e307bfef33e6d">setColor</a>(<a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;getPreferences().getLayerColor());</div><div class="line"><a name="l01084"></a><span class="lineno"> 1084</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01085"></a><span class="lineno"> 1085</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#aea2802b3826e7b6f7d5eae78db07f7e0">changeActiveLayer</a>();</div><div class="line"><a name="l01086"></a><span class="lineno"> 1086</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01087"></a><span class="lineno"> 1087</span>&#160;}</div><div class="line"><a name="l01088"></a><span class="lineno"> 1088</span>&#160;</div><div class="line"><a name="l01089"></a><span class="lineno"> 1089</span>&#160;<span class="comment">// FreeShipUnit.pas:9365</span></div><div class="line"><a name="l01090"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#ae9cce4c133abd067d98812eb342663d0"> 1090</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#ae9cce4c133abd067d98812eb342663d0">Controller::deleteMarkers</a>()</div><div class="line"><a name="l01091"></a><span class="lineno"> 1091</span>&#160;{</div><div class="line"><a name="l01092"></a><span class="lineno"> 1092</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::deleteMarkers&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01093"></a><span class="lineno"> 1093</span>&#160;    <span class="keywordtype">bool</span> ok;</div><div class="line"><a name="l01094"></a><span class="lineno"> 1094</span>&#160;    <span class="comment">// msg 0143</span></div><div class="line"><a name="l01095"></a><span class="lineno"> 1095</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#ae37d12b77bce8119a3562aba8e5b7ef0">displayQuestionDialog</a>(tr(<span class="stringliteral">&quot;Are you sure you want to delete all the markers?&quot;</span>), ok);</div><div class="line"><a name="l01096"></a><span class="lineno"> 1096</span>&#160;    <span class="keywordflow">if</span> (!ok)</div><div class="line"><a name="l01097"></a><span class="lineno"> 1097</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l01098"></a><span class="lineno"> 1098</span>&#160;    <span class="comment">// msg 0144</span></div><div class="line"><a name="l01099"></a><span class="lineno"> 1099</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;delete markers&quot;</span>), <span class="keyword">true</span>);</div><div class="line"><a name="l01100"></a><span class="lineno"> 1100</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#abc5faaa00b4b34bc1b0b1cd52af4ab3b">getMarkers</a>().<a class="code" href="classPointerVector.html#a9f708acfaa3ce26d14b02d8e285c8729">clear</a>();</div><div class="line"><a name="l01101"></a><span class="lineno"> 1101</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ab221977f2a8bd4d51d6ee777be0d7b8a">setBuild</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l01102"></a><span class="lineno"> 1102</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01103"></a><span class="lineno"> 1103</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01104"></a><span class="lineno"> 1104</span>&#160;}</div><div class="line"><a name="l01105"></a><span class="lineno"> 1105</span>&#160;</div><div class="line"><a name="l01106"></a><span class="lineno"> 1106</span>&#160;<span class="comment">// FreeShipUnit.pas:9380</span></div><div class="line"><a name="l01107"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#ac44acf971478b4ae06e8b8842c91d4b0"> 1107</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#ac44acf971478b4ae06e8b8842c91d4b0">Controller::importMarkers</a>(<span class="keyword">const</span> QString&amp; filename)</div><div class="line"><a name="l01108"></a><span class="lineno"> 1108</span>&#160;{</div><div class="line"><a name="l01109"></a><span class="lineno"> 1109</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::importMarkers&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01110"></a><span class="lineno"> 1110</span>&#160;    QFile markerfile(filename);</div><div class="line"><a name="l01111"></a><span class="lineno"> 1111</span>&#160;    <span class="keywordflow">if</span> (markerfile.open(QFile::ReadOnly | QIODevice::Text)) {</div><div class="line"><a name="l01112"></a><span class="lineno"> 1112</span>&#160;        QTextStream is(&amp;markerfile);</div><div class="line"><a name="l01113"></a><span class="lineno"> 1113</span>&#160;        <a class="code" href="classPointerVector.html">MarkerVector</a> markers(<span class="keyword">false</span>);</div><div class="line"><a name="l01114"></a><span class="lineno"> 1114</span>&#160;        <span class="keywordflow">try</span> {</div><div class="line"><a name="l01115"></a><span class="lineno"> 1115</span>&#160;            <a class="code" href="classShipCAD_1_1Marker.html#a65736e4307c4a0f0ca6b1a2e1f51b556">Marker::loadFromText</a>(<a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>(), is, markers);</div><div class="line"><a name="l01116"></a><span class="lineno"> 1116</span>&#160;        } <span class="keywordflow">catch</span> (<a class="code" href="classShipCAD_1_1ParseError.html">ParseError</a> e) {</div><div class="line"><a name="l01117"></a><span class="lineno"> 1117</span>&#160;            QString err(tr(<span class="stringliteral">&quot;Error reading marker file on line:%1&quot;</span>).arg(e.<a class="code" href="classShipCAD_1_1ParseError.html#a572bd9bbbf1d7b6683c8a758a37be7a3">lineno</a>()));</div><div class="line"><a name="l01118"></a><span class="lineno"> 1118</span>&#160;            <span class="keywordflow">if</span> (e.<a class="code" href="classShipCAD_1_1ParseError.html#adddab14352397af6868f8ab973108efa">info</a>().size() &gt; 0)</div><div class="line"><a name="l01119"></a><span class="lineno"> 1119</span>&#160;                err.append(<span class="stringliteral">&quot;\n&quot;</span>).append(e.<a class="code" href="classShipCAD_1_1ParseError.html#adddab14352397af6868f8ab973108efa">info</a>());</div><div class="line"><a name="l01120"></a><span class="lineno"> 1120</span>&#160;            emit <a class="code" href="classShipCAD_1_1Controller.html#a202940610fb5179281bc045b8e9f9925">displayErrorDialog</a>(err);</div><div class="line"><a name="l01121"></a><span class="lineno"> 1121</span>&#160;            <span class="keywordflow">return</span>;</div><div class="line"><a name="l01122"></a><span class="lineno"> 1122</span>&#160;        } <span class="keywordflow">catch</span>(...) {</div><div class="line"><a name="l01123"></a><span class="lineno"> 1123</span>&#160;            <span class="comment">// TODO what do we do?</span></div><div class="line"><a name="l01124"></a><span class="lineno"> 1124</span>&#160;            <span class="keywordflow">return</span>;</div><div class="line"><a name="l01125"></a><span class="lineno"> 1125</span>&#160;        }</div><div class="line"><a name="l01126"></a><span class="lineno"> 1126</span>&#160;        <span class="keywordtype">bool</span> imported = <span class="keyword">false</span>;</div><div class="line"><a name="l01127"></a><span class="lineno"> 1127</span>&#160;        <span class="keywordflow">if</span> (markers.<a class="code" href="classPointerVector.html#a65263559ccd6a9eac2904c691453867b">size</a>() &gt; 0) {</div><div class="line"><a name="l01128"></a><span class="lineno"> 1128</span>&#160;            <span class="keywordtype">bool</span> ok;</div><div class="line"><a name="l01129"></a><span class="lineno"> 1129</span>&#160;            <span class="keywordflow">if</span> (<a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a6feda4dd07262d1f137f8f8a677bd23d">numberOfMarkers</a>() &gt; 0) {</div><div class="line"><a name="l01130"></a><span class="lineno"> 1130</span>&#160;                emit <a class="code" href="classShipCAD_1_1Controller.html#ae37d12b77bce8119a3562aba8e5b7ef0">displayQuestionDialog</a>(tr(<span class="stringliteral">&quot;The model already contains markers. Do you want to delete those?&quot;</span>), ok);</div><div class="line"><a name="l01131"></a><span class="lineno"> 1131</span>&#160;                <span class="keywordflow">if</span> (ok) {</div><div class="line"><a name="l01132"></a><span class="lineno"> 1132</span>&#160;                    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;import markers&quot;</span>), <span class="keyword">true</span>);</div><div class="line"><a name="l01133"></a><span class="lineno"> 1133</span>&#160;                    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#abc5faaa00b4b34bc1b0b1cd52af4ab3b">getMarkers</a>().<a class="code" href="classPointerVector.html#a9f708acfaa3ce26d14b02d8e285c8729">clear</a>();</div><div class="line"><a name="l01134"></a><span class="lineno"> 1134</span>&#160;                }</div><div class="line"><a name="l01135"></a><span class="lineno"> 1135</span>&#160;                imported = <span class="keyword">true</span>;</div><div class="line"><a name="l01136"></a><span class="lineno"> 1136</span>&#160;            } <span class="keywordflow">else</span> {</div><div class="line"><a name="l01137"></a><span class="lineno"> 1137</span>&#160;                <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;import markers&quot;</span>), <span class="keyword">true</span>);</div><div class="line"><a name="l01138"></a><span class="lineno"> 1138</span>&#160;                imported = <span class="keyword">true</span>;</div><div class="line"><a name="l01139"></a><span class="lineno"> 1139</span>&#160;            }</div><div class="line"><a name="l01140"></a><span class="lineno"> 1140</span>&#160;            <span class="keywordflow">if</span> (imported) {</div><div class="line"><a name="l01141"></a><span class="lineno"> 1141</span>&#160;                <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=0; i&lt;markers.<a class="code" href="classPointerVector.html#a65263559ccd6a9eac2904c691453867b">size</a>(); i++)</div><div class="line"><a name="l01142"></a><span class="lineno"> 1142</span>&#160;                    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#abc5faaa00b4b34bc1b0b1cd52af4ab3b">getMarkers</a>().<a class="code" href="classPointerVector.html#abaee9f77dee6ea2523dff64b184c9f54">add</a>(markers.<a class="code" href="classPointerVector.html#af28c2517157ddacfb4d92a4fc73c5a92">get</a>(i));</div><div class="line"><a name="l01143"></a><span class="lineno"> 1143</span>&#160;                <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ab221977f2a8bd4d51d6ee777be0d7b8a">setBuild</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l01144"></a><span class="lineno"> 1144</span>&#160;                <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01145"></a><span class="lineno"> 1145</span>&#160;                emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01146"></a><span class="lineno"> 1146</span>&#160;            } <span class="keywordflow">else</span> {</div><div class="line"><a name="l01147"></a><span class="lineno"> 1147</span>&#160;                <span class="comment">// destroy the markers</span></div><div class="line"><a name="l01148"></a><span class="lineno"> 1148</span>&#160;                <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=0; i&lt;markers.<a class="code" href="classPointerVector.html#a65263559ccd6a9eac2904c691453867b">size</a>(); i++)</div><div class="line"><a name="l01149"></a><span class="lineno"> 1149</span>&#160;                    <span class="keyword">delete</span> markers.<a class="code" href="classPointerVector.html#af28c2517157ddacfb4d92a4fc73c5a92">get</a>(i);</div><div class="line"><a name="l01150"></a><span class="lineno"> 1150</span>&#160;            }</div><div class="line"><a name="l01151"></a><span class="lineno"> 1151</span>&#160;        } <span class="keywordflow">else</span> {</div><div class="line"><a name="l01152"></a><span class="lineno"> 1152</span>&#160;            emit <a class="code" href="classShipCAD_1_1Controller.html#a108f5d44546cab9a8e58a7e8d187a68e">displayWarningDialog</a>(tr(<span class="stringliteral">&quot;No markers could be imported&quot;</span>));</div><div class="line"><a name="l01153"></a><span class="lineno"> 1153</span>&#160;        }</div><div class="line"><a name="l01154"></a><span class="lineno"> 1154</span>&#160;    } <span class="keywordflow">else</span> {</div><div class="line"><a name="l01155"></a><span class="lineno"> 1155</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#a202940610fb5179281bc045b8e9f9925">displayErrorDialog</a>(tr(<span class="stringliteral">&quot;Unable to open file!&quot;</span>));</div><div class="line"><a name="l01156"></a><span class="lineno"> 1156</span>&#160;    }</div><div class="line"><a name="l01157"></a><span class="lineno"> 1157</span>&#160;}</div><div class="line"><a name="l01158"></a><span class="lineno"> 1158</span>&#160;</div><div class="line"><a name="l01159"></a><span class="lineno"> 1159</span>&#160;<span class="comment">// FreeShipUnit.pas:9494</span></div><div class="line"><a name="l01160"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a901935dbf43aa0181d40e315da8c3902"> 1160</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a901935dbf43aa0181d40e315da8c3902">Controller::checkModel</a>(<span class="keywordtype">bool</span> showresult)</div><div class="line"><a name="l01161"></a><span class="lineno"> 1161</span>&#160;{</div><div class="line"><a name="l01162"></a><span class="lineno"> 1162</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::checkModel&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01163"></a><span class="lineno"> 1163</span>&#160;    <span class="comment">// msg 0148</span></div><div class="line"><a name="l01164"></a><span class="lineno"> 1164</span>&#160;    <a class="code" href="classShipCAD_1_1UndoObject.html">UndoObject</a>* uo = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;analyze surface&quot;</span>), <span class="keyword">false</span>);</div><div class="line"><a name="l01165"></a><span class="lineno"> 1165</span>&#160;    <a class="code" href="structShipCAD_1_1SurfaceCheckResult.html">SurfaceCheckResult</a> checked;</div><div class="line"><a name="l01166"></a><span class="lineno"> 1166</span>&#160;    <span class="keywordtype">bool</span> changed = <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a8092913bd49a8a98cf96ba9485758aaf">check</a>(checked, !showresult);</div><div class="line"><a name="l01167"></a><span class="lineno"> 1167</span>&#160;    <span class="keywordflow">if</span> (checked.<a class="code" href="structShipCAD_1_1SurfaceCheckResult.html#ac9e1040a8818a6ecb98ab8981115deeb">leaks</a>.size() &gt; 0 &amp;&amp; showresult) {</div><div class="line"><a name="l01168"></a><span class="lineno"> 1168</span>&#160;        <span class="comment">// msg 0149, 0150</span></div><div class="line"><a name="l01169"></a><span class="lineno"> 1169</span>&#160;        QString msg(tr(<span class="stringliteral">&quot;The model contains a total of %1 leak points.&quot;</span>).arg(checked.<a class="code" href="structShipCAD_1_1SurfaceCheckResult.html#ac9e1040a8818a6ecb98ab8981115deeb">leaks</a>.size()));</div><div class="line"><a name="l01170"></a><span class="lineno"> 1170</span>&#160;        <span class="keywordflow">if</span> (checked.<a class="code" href="structShipCAD_1_1SurfaceCheckResult.html#ac9e1040a8818a6ecb98ab8981115deeb">leaks</a>.size() &gt; 10)</div><div class="line"><a name="l01171"></a><span class="lineno"> 1171</span>&#160;            <span class="comment">// msg 0151</span></div><div class="line"><a name="l01172"></a><span class="lineno"> 1172</span>&#160;            msg.append(tr(<span class="stringliteral">&quot;\nOnly the first 10 are shown:&quot;</span>));</div><div class="line"><a name="l01173"></a><span class="lineno"> 1173</span>&#160;        msg.append(<span class="stringliteral">&quot;\n&quot;</span>);</div><div class="line"><a name="l01174"></a><span class="lineno"> 1174</span>&#160;        <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=0; i&lt;checked.<a class="code" href="structShipCAD_1_1SurfaceCheckResult.html#ac9e1040a8818a6ecb98ab8981115deeb">leaks</a>.size() &amp;&amp; i&lt;10; i++) {</div><div class="line"><a name="l01175"></a><span class="lineno"> 1175</span>&#160;            msg.append(QString(<span class="stringliteral">&quot;\n%1, %2, %3&quot;</span>)</div><div class="line"><a name="l01176"></a><span class="lineno"> 1176</span>&#160;                       .arg(<a class="code" href="namespaceShipCAD.html#ae378a523725f5718c9f2b55103f08dcb">MakeLength</a>(checked.<a class="code" href="structShipCAD_1_1SurfaceCheckResult.html#ac9e1040a8818a6ecb98ab8981115deeb">leaks</a>[i]-&gt;getCoordinate().x(), 3, 7))</div><div class="line"><a name="l01177"></a><span class="lineno"> 1177</span>&#160;                       .arg(<a class="code" href="namespaceShipCAD.html#ae378a523725f5718c9f2b55103f08dcb">MakeLength</a>(checked.<a class="code" href="structShipCAD_1_1SurfaceCheckResult.html#ac9e1040a8818a6ecb98ab8981115deeb">leaks</a>[i]-&gt;getCoordinate().y(), 3, 7))</div><div class="line"><a name="l01178"></a><span class="lineno"> 1178</span>&#160;                       .arg(<a class="code" href="namespaceShipCAD.html#ae378a523725f5718c9f2b55103f08dcb">MakeLength</a>(checked.<a class="code" href="structShipCAD_1_1SurfaceCheckResult.html#ac9e1040a8818a6ecb98ab8981115deeb">leaks</a>[i]-&gt;getCoordinate().z(), 3, 7)));</div><div class="line"><a name="l01179"></a><span class="lineno"> 1179</span>&#160;        }</div><div class="line"><a name="l01180"></a><span class="lineno"> 1180</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#a108f5d44546cab9a8e58a7e8d187a68e">displayWarningDialog</a>(msg);</div><div class="line"><a name="l01181"></a><span class="lineno"> 1181</span>&#160;    }</div><div class="line"><a name="l01182"></a><span class="lineno"> 1182</span>&#160;    <span class="keywordflow">if</span> (changed || checked.<a class="code" href="structShipCAD_1_1SurfaceCheckResult.html#ac5c4a6c0d87e8020e469f4c06bd8c50d">inconsistent</a> &gt; 0 || checked.<a class="code" href="structShipCAD_1_1SurfaceCheckResult.html#a781d013ead5911ba9646334c00686985">non_manifold</a> &gt; 0</div><div class="line"><a name="l01183"></a><span class="lineno"> 1183</span>&#160;            || checked.<a class="code" href="structShipCAD_1_1SurfaceCheckResult.html#ac9cd6a616b54cdfc8f2de4260810e751">double_edges</a> &gt; 0 || checked.<a class="code" href="structShipCAD_1_1SurfaceCheckResult.html#a80e73423275a12c1047605ceb59829d6">inverted_faces</a> &gt; 0) {</div><div class="line"><a name="l01184"></a><span class="lineno"> 1184</span>&#160;        uo-&gt;<a class="code" href="classShipCAD_1_1UndoObject.html#a93bad349f284a0ff1cece56aa931f9e3">accept</a>();</div><div class="line"><a name="l01185"></a><span class="lineno"> 1185</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ab221977f2a8bd4d51d6ee777be0d7b8a">setBuild</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l01186"></a><span class="lineno"> 1186</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01187"></a><span class="lineno"> 1187</span>&#160;        <span class="keywordflow">if</span> (showresult) {</div><div class="line"><a name="l01188"></a><span class="lineno"> 1188</span>&#160;            <span class="comment">// msg 0152</span></div><div class="line"><a name="l01189"></a><span class="lineno"> 1189</span>&#160;            QString msg(tr(<span class="stringliteral">&quot;The following items were corrected:&quot;</span>));</div><div class="line"><a name="l01190"></a><span class="lineno"> 1190</span>&#160;            <span class="keywordflow">if</span> (checked.<a class="code" href="structShipCAD_1_1SurfaceCheckResult.html#ac9cd6a616b54cdfc8f2de4260810e751">double_edges</a> &gt; 0)</div><div class="line"><a name="l01191"></a><span class="lineno"> 1191</span>&#160;                <span class="comment">// msg 0158</span></div><div class="line"><a name="l01192"></a><span class="lineno"> 1192</span>&#160;                msg.append(tr(<span class="stringliteral">&quot;\n%1 double edges.&quot;</span>).arg(checked.<a class="code" href="structShipCAD_1_1SurfaceCheckResult.html#ac9cd6a616b54cdfc8f2de4260810e751">double_edges</a>));</div><div class="line"><a name="l01193"></a><span class="lineno"> 1193</span>&#160;            <span class="keywordflow">if</span> (checked.<a class="code" href="structShipCAD_1_1SurfaceCheckResult.html#ac5c4a6c0d87e8020e469f4c06bd8c50d">inconsistent</a> &gt; 0)</div><div class="line"><a name="l01194"></a><span class="lineno"> 1194</span>&#160;                <span class="comment">// msg 0153</span></div><div class="line"><a name="l01195"></a><span class="lineno"> 1195</span>&#160;                msg.append(tr(<span class="stringliteral">&quot;\n%1 inconsistent normals.&quot;</span>).arg(checked.<a class="code" href="structShipCAD_1_1SurfaceCheckResult.html#ac5c4a6c0d87e8020e469f4c06bd8c50d">inconsistent</a>));</div><div class="line"><a name="l01196"></a><span class="lineno"> 1196</span>&#160;            <span class="keywordflow">if</span> (checked.<a class="code" href="structShipCAD_1_1SurfaceCheckResult.html#a80e73423275a12c1047605ceb59829d6">inverted_faces</a> &gt; 0)</div><div class="line"><a name="l01197"></a><span class="lineno"> 1197</span>&#160;                <span class="comment">// msg 0154</span></div><div class="line"><a name="l01198"></a><span class="lineno"> 1198</span>&#160;                msg.append(tr(<span class="stringliteral">&quot;\n%1 normals flipped to point outward.&quot;</span>).arg(checked.<a class="code" href="structShipCAD_1_1SurfaceCheckResult.html#a80e73423275a12c1047605ceb59829d6">inverted_faces</a>));</div><div class="line"><a name="l01199"></a><span class="lineno"> 1199</span>&#160;            <span class="keywordflow">if</span> (checked.<a class="code" href="structShipCAD_1_1SurfaceCheckResult.html#a781d013ead5911ba9646334c00686985">non_manifold</a> &gt; 0)</div><div class="line"><a name="l01200"></a><span class="lineno"> 1200</span>&#160;                <span class="comment">// msg 0155</span></div><div class="line"><a name="l01201"></a><span class="lineno"> 1201</span>&#160;                msg.append(tr(<span class="stringliteral">&quot;\n%1 edges found with more than 2 faces connected to it!&quot;</span>).arg(checked.<a class="code" href="structShipCAD_1_1SurfaceCheckResult.html#a781d013ead5911ba9646334c00686985">non_manifold</a>));</div><div class="line"><a name="l01202"></a><span class="lineno"> 1202</span>&#160;            emit <a class="code" href="classShipCAD_1_1Controller.html#a5e3d8876bd01217eda54b73c06a42d47">displayInfoDialog</a>(msg);</div><div class="line"><a name="l01203"></a><span class="lineno"> 1203</span>&#160;        }</div><div class="line"><a name="l01204"></a><span class="lineno"> 1204</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01205"></a><span class="lineno"> 1205</span>&#160;    } <span class="keywordflow">else</span> {</div><div class="line"><a name="l01206"></a><span class="lineno"> 1206</span>&#160;        <span class="keyword">delete</span> uo;</div><div class="line"><a name="l01207"></a><span class="lineno"> 1207</span>&#160;        <span class="keywordflow">if</span> (showresult &amp;&amp; checked.<a class="code" href="structShipCAD_1_1SurfaceCheckResult.html#ac9e1040a8818a6ecb98ab8981115deeb">leaks</a>.size() == 0)</div><div class="line"><a name="l01208"></a><span class="lineno"> 1208</span>&#160;            <span class="comment">// msg 0156</span></div><div class="line"><a name="l01209"></a><span class="lineno"> 1209</span>&#160;            emit <a class="code" href="classShipCAD_1_1Controller.html#a5e3d8876bd01217eda54b73c06a42d47">displayInfoDialog</a>(tr(<span class="stringliteral">&quot;Model is ok.&quot;</span>));</div><div class="line"><a name="l01210"></a><span class="lineno"> 1210</span>&#160;    }</div><div class="line"><a name="l01211"></a><span class="lineno"> 1211</span>&#160;}</div><div class="line"><a name="l01212"></a><span class="lineno"> 1212</span>&#160;</div><div class="line"><a name="l01213"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#acdb404d69222d41c55b4358ef844cd8f"> 1213</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#acdb404d69222d41c55b4358ef844cd8f">Controller::newModel</a>()</div><div class="line"><a name="l01214"></a><span class="lineno"> 1214</span>&#160;{</div><div class="line"><a name="l01215"></a><span class="lineno"> 1215</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::newModel&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01216"></a><span class="lineno"> 1216</span>&#160;    <a class="code" href="structShipCAD_1_1NewModelDialogData.html">NewModelDialogData</a> data;</div><div class="line"><a name="l01217"></a><span class="lineno"> 1217</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#a3db63580c7b845824545c393a4f3406a">exeNewModelDialog</a>(data);</div><div class="line"><a name="l01218"></a><span class="lineno"> 1218</span>&#160;    <span class="keywordflow">if</span> (data.<a class="code" href="structShipCAD_1_1NewModelDialogData.html#aff4f1f738dfe7457456bd1e2d0e4f37e">accepted</a>) {</div><div class="line"><a name="l01219"></a><span class="lineno"> 1219</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#ad9c16d37e77b98b2f289839d4f337325">clearUndo</a>();</div><div class="line"><a name="l01220"></a><span class="lineno"> 1220</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#adcf0db573afa7c865de68d0b36d41f15">newModel</a>(data.<a class="code" href="structShipCAD_1_1NewModelDialogData.html#a8ff4b02ff5c3ce20c0b0d3bdade551a7">units</a>, data.<a class="code" href="structShipCAD_1_1NewModelDialogData.html#ad81a20ab469df5a0f65149f967415d31">length</a>, data.<a class="code" href="structShipCAD_1_1NewModelDialogData.html#af2d41edf92aa7fa317cc956801aeab50">breadth</a>, data.<a class="code" href="structShipCAD_1_1NewModelDialogData.html#a6941e9fd4fd42257c0b05c6076aadc2a">depth</a>,</div><div class="line"><a name="l01221"></a><span class="lineno"> 1221</span>&#160;                             data.<a class="code" href="structShipCAD_1_1NewModelDialogData.html#aa1624f2018fd39dbbe80bc10e70efa8b">rows</a>, data.<a class="code" href="structShipCAD_1_1NewModelDialogData.html#ad0fc3e908a10e878c747fac2fe71b67b">cols</a>);</div><div class="line"><a name="l01222"></a><span class="lineno"> 1222</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#a61d8a1d0d26a123ef81527ba32932bd2">modelLoaded</a>();</div><div class="line"><a name="l01223"></a><span class="lineno"> 1223</span>&#160;    }</div><div class="line"><a name="l01224"></a><span class="lineno"> 1224</span>&#160;}</div><div class="line"><a name="l01225"></a><span class="lineno"> 1225</span>&#160;</div><div class="line"><a name="l01226"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a1008c0cde2f16e883fbe6a07850ba670"> 1226</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a1008c0cde2f16e883fbe6a07850ba670">Controller::lackenbyModelTransformation</a>()</div><div class="line"><a name="l01227"></a><span class="lineno"> 1227</span>&#160;{</div><div class="line"><a name="l01228"></a><span class="lineno"> 1228</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l01229"></a><span class="lineno"> 1229</span>&#160;}</div><div class="line"><a name="l01230"></a><span class="lineno"> 1230</span>&#160;</div><div class="line"><a name="l01231"></a><span class="lineno"> 1231</span>&#160;<span class="comment">// FreeShipUnit.pas:10086</span></div><div class="line"><a name="l01232"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a014673c39abcced0285f8df64842918e"> 1232</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a014673c39abcced0285f8df64842918e">Controller::collapsePoint</a>()</div><div class="line"><a name="l01233"></a><span class="lineno"> 1233</span>&#160;{</div><div class="line"><a name="l01234"></a><span class="lineno"> 1234</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::collapsePoint&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01235"></a><span class="lineno"> 1235</span>&#160;    <span class="comment">// msg 0160</span></div><div class="line"><a name="l01236"></a><span class="lineno"> 1236</span>&#160;    <a class="code" href="classShipCAD_1_1UndoObject.html">UndoObject</a>* uo = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;collapse point&quot;</span>), <span class="keyword">false</span>);</div><div class="line"><a name="l01237"></a><span class="lineno"> 1237</span>&#160;    <span class="keywordtype">int</span> n = 0;</div><div class="line"><a name="l01238"></a><span class="lineno"> 1238</span>&#160;    <a class="code" href="classOrderedPointMap.html">OrderedPointMap</a>&amp; pmap = <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#abf8b8f77097b24be87696d15273611bd">getSelControlPointCollection</a>();</div><div class="line"><a name="l01239"></a><span class="lineno"> 1239</span>&#160;    <span class="keywordflow">for</span> (<a class="code" href="classOrderedPointMapIterator.html">OrderedPointMap::iterator</a> i=pmap.<a class="code" href="classOrderedPointMap.html#a4e4a269c790a35950901207c0d9ff4fb">begin</a>(); i!=pmap.<a class="code" href="classOrderedPointMap.html#a2b4e1630f6b13dba32a7200c670331cf">end</a>(); ++i) {</div><div class="line"><a name="l01240"></a><span class="lineno"> 1240</span>&#160;        <a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html">SubdivisionControlPoint</a>* pt = *i;</div><div class="line"><a name="l01241"></a><span class="lineno"> 1241</span>&#160;        <span class="keywordflow">if</span> (!pt-&gt;<a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html#a85c52118d96f400be4705bf419b412c6">isLocked</a>() &amp;&amp; pt-&gt;<a class="code" href="classShipCAD_1_1SubdivisionPoint.html#af86801ec715b4967fb3facf82f3f34ac">numberOfEdges</a>() == 2) {</div><div class="line"><a name="l01242"></a><span class="lineno"> 1242</span>&#160;            <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a8a9682720550170236c353d011d06313">collapseControlPoint</a>(pt);</div><div class="line"><a name="l01243"></a><span class="lineno"> 1243</span>&#160;            n++;</div><div class="line"><a name="l01244"></a><span class="lineno"> 1244</span>&#160;        }</div><div class="line"><a name="l01245"></a><span class="lineno"> 1245</span>&#160;    }</div><div class="line"><a name="l01246"></a><span class="lineno"> 1246</span>&#160;    <span class="keywordflow">if</span> (n &gt; 0) {</div><div class="line"><a name="l01247"></a><span class="lineno"> 1247</span>&#160;        uo-&gt;<a class="code" href="classShipCAD_1_1UndoObject.html#a93bad349f284a0ff1cece56aa931f9e3">accept</a>();</div><div class="line"><a name="l01248"></a><span class="lineno"> 1248</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ab221977f2a8bd4d51d6ee777be0d7b8a">setBuild</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l01249"></a><span class="lineno"> 1249</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01250"></a><span class="lineno"> 1250</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01251"></a><span class="lineno"> 1251</span>&#160;    }</div><div class="line"><a name="l01252"></a><span class="lineno"> 1252</span>&#160;    <span class="keywordflow">else</span> {</div><div class="line"><a name="l01253"></a><span class="lineno"> 1253</span>&#160;        <span class="keyword">delete</span> uo;</div><div class="line"><a name="l01254"></a><span class="lineno"> 1254</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ae28eabc4c698e3bc8732a004d2ab4034">changeSelectedItems</a>();</div><div class="line"><a name="l01255"></a><span class="lineno"> 1255</span>&#160;    }</div><div class="line"><a name="l01256"></a><span class="lineno"> 1256</span>&#160;}</div><div class="line"><a name="l01257"></a><span class="lineno"> 1257</span>&#160;</div><div class="line"><a name="l01258"></a><span class="lineno"> 1258</span>&#160;<span class="comment">// FreeShipUnit.pas:10113</span></div><div class="line"><a name="l01259"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a42d9eb4cf3864ca9057bfa45c1c80d40"> 1259</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a42d9eb4cf3864ca9057bfa45c1c80d40">Controller::removeUnusedPoint</a>()</div><div class="line"><a name="l01260"></a><span class="lineno"> 1260</span>&#160;{</div><div class="line"><a name="l01261"></a><span class="lineno"> 1261</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::removeUnusedPoint()&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01262"></a><span class="lineno"> 1262</span>&#160;    <span class="keywordtype">size_t</span> n = 0;</div><div class="line"><a name="l01263"></a><span class="lineno"> 1263</span>&#160;    <span class="comment">// msg 0161</span></div><div class="line"><a name="l01264"></a><span class="lineno"> 1264</span>&#160;    <a class="code" href="classShipCAD_1_1UndoObject.html">UndoObject</a>* uo = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;remove unused points&quot;</span>), <span class="keyword">false</span>);</div><div class="line"><a name="l01265"></a><span class="lineno"> 1265</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=<a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;numberOfControlPoints(); i&gt;=1; i++) {</div><div class="line"><a name="l01266"></a><span class="lineno"> 1266</span>&#160;        <a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html">SubdivisionControlPoint</a>* pt = <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a534abfeaab8e30436c7ba4f14048472a">getControlPoint</a>(i-1);</div><div class="line"><a name="l01267"></a><span class="lineno"> 1267</span>&#160;        <span class="keywordflow">if</span> (pt-&gt;<a class="code" href="classShipCAD_1_1SubdivisionPoint.html#a474297f7514f867f77ac35e50e9ce6aa">numberOfFaces</a>() == 0) {</div><div class="line"><a name="l01268"></a><span class="lineno"> 1268</span>&#160;            <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#ad4f874132a137e89a39e60572748dab0">deleteControlPoint</a>(pt);</div><div class="line"><a name="l01269"></a><span class="lineno"> 1269</span>&#160;            n++;</div><div class="line"><a name="l01270"></a><span class="lineno"> 1270</span>&#160;        }</div><div class="line"><a name="l01271"></a><span class="lineno"> 1271</span>&#160;    }</div><div class="line"><a name="l01272"></a><span class="lineno"> 1272</span>&#160;    <span class="keywordflow">if</span> (n &gt; 0) {</div><div class="line"><a name="l01273"></a><span class="lineno"> 1273</span>&#160;        uo-&gt;<a class="code" href="classShipCAD_1_1UndoObject.html#a93bad349f284a0ff1cece56aa931f9e3">accept</a>();</div><div class="line"><a name="l01274"></a><span class="lineno"> 1274</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ab221977f2a8bd4d51d6ee777be0d7b8a">setBuild</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l01275"></a><span class="lineno"> 1275</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01276"></a><span class="lineno"> 1276</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01277"></a><span class="lineno"> 1277</span>&#160;        <span class="comment">// msg 0162</span></div><div class="line"><a name="l01278"></a><span class="lineno"> 1278</span>&#160;        QString msg(<span class="stringliteral">&quot;%1 %2&quot;</span>);</div><div class="line"><a name="l01279"></a><span class="lineno"> 1279</span>&#160;        msg.arg(n).arg(tr(<span class="stringliteral">&quot;points removed.&quot;</span>));</div><div class="line"><a name="l01280"></a><span class="lineno"> 1280</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#a5e3d8876bd01217eda54b73c06a42d47">displayInfoDialog</a>(msg);</div><div class="line"><a name="l01281"></a><span class="lineno"> 1281</span>&#160;    }</div><div class="line"><a name="l01282"></a><span class="lineno"> 1282</span>&#160;    <span class="keywordflow">else</span></div><div class="line"><a name="l01283"></a><span class="lineno"> 1283</span>&#160;        <span class="keyword">delete</span> uo;</div><div class="line"><a name="l01284"></a><span class="lineno"> 1284</span>&#160;}</div><div class="line"><a name="l01285"></a><span class="lineno"> 1285</span>&#160;</div><div class="line"><a name="l01286"></a><span class="lineno"> 1286</span>&#160;<span class="comment">// FreeShipUnit.pas:10141</span></div><div class="line"><a name="l01287"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#aed43429330b5062ddb98372406a02d2d"> 1287</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#aed43429330b5062ddb98372406a02d2d">Controller::insertPlane</a>()</div><div class="line"><a name="l01288"></a><span class="lineno"> 1288</span>&#160;{</div><div class="line"><a name="l01289"></a><span class="lineno"> 1289</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::insertPlane&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01290"></a><span class="lineno"> 1290</span>&#160;    QVector3D min, max;</div><div class="line"><a name="l01291"></a><span class="lineno"> 1291</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a7ab84a738b747c4fcb2c3627e56d4bd0">extents</a>(min, max);</div><div class="line"><a name="l01292"></a><span class="lineno"> 1292</span>&#160;    <a class="code" href="structShipCAD_1_1InsertPlaneDialogData.html">InsertPlaneDialogData</a> data;</div><div class="line"><a name="l01293"></a><span class="lineno"> 1293</span>&#160;    data.<a class="code" href="structShipCAD_1_1InsertPlaneDialogData.html#a27431ce232112ee8c3c01cdc5eaba7fd">min</a> = min;</div><div class="line"><a name="l01294"></a><span class="lineno"> 1294</span>&#160;    data.<a class="code" href="structShipCAD_1_1InsertPlaneDialogData.html#acef8dafcdd66649d8d0fa6fe6f8a7ea6">max</a> = max;</div><div class="line"><a name="l01295"></a><span class="lineno"> 1295</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#aca4334441b3388052a1bd3ac5e8f6b22">exeInsertPlanePointsDialog</a>(data);</div><div class="line"><a name="l01296"></a><span class="lineno"> 1296</span>&#160;    <span class="keywordflow">if</span> (!data.<a class="code" href="structShipCAD_1_1InsertPlaneDialogData.html#a5b818074e9cca09e900e627fc9fc6e5c">accepted</a>)</div><div class="line"><a name="l01297"></a><span class="lineno"> 1297</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l01298"></a><span class="lineno"> 1298</span>&#160;    <span class="comment">// msg 0163</span></div><div class="line"><a name="l01299"></a><span class="lineno"> 1299</span>&#160;    <a class="code" href="classShipCAD_1_1UndoObject.html">UndoObject</a>* uo = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;insert plane intersections&quot;</span>), <span class="keyword">false</span>);</div><div class="line"><a name="l01300"></a><span class="lineno"> 1300</span>&#160;    <span class="keywordtype">size_t</span> n = <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a994923f432129431b30d6b532059a6ab">numberOfControlPoints</a>();</div><div class="line"><a name="l01301"></a><span class="lineno"> 1301</span>&#160;    <a class="code" href="classShipCAD_1_1Plane.html">Plane</a> p;</div><div class="line"><a name="l01302"></a><span class="lineno"> 1302</span>&#160;    <span class="keywordflow">switch</span>(data.<a class="code" href="structShipCAD_1_1InsertPlaneDialogData.html#aa028c61547384932261d4a8b647f9eeb">planeSelected</a>) {</div><div class="line"><a name="l01303"></a><span class="lineno"> 1303</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="namespaceShipCAD.html#aa0f3f220e102a298d2e698af90f5e1fca98cd91131ffa92087bfcefe6fb5e4d6d">transverse</a>:</div><div class="line"><a name="l01304"></a><span class="lineno"> 1304</span>&#160;        p = <a class="code" href="classShipCAD_1_1Plane.html">Plane</a>(1, 0, 0, -data.<a class="code" href="structShipCAD_1_1InsertPlaneDialogData.html#a73456e4622597dce48d16c05be358593">distance</a>);</div><div class="line"><a name="l01305"></a><span class="lineno"> 1305</span>&#160;        <span class="keywordflow">break</span>;</div><div class="line"><a name="l01306"></a><span class="lineno"> 1306</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="namespaceShipCAD.html#aa0f3f220e102a298d2e698af90f5e1fca57120f6bafe4097088113cc547769d44">horizontal</a>:</div><div class="line"><a name="l01307"></a><span class="lineno"> 1307</span>&#160;        p = <a class="code" href="classShipCAD_1_1Plane.html">Plane</a>(0, 0, 1, -data.<a class="code" href="structShipCAD_1_1InsertPlaneDialogData.html#a73456e4622597dce48d16c05be358593">distance</a>);</div><div class="line"><a name="l01308"></a><span class="lineno"> 1308</span>&#160;        <span class="keywordflow">break</span>;</div><div class="line"><a name="l01309"></a><span class="lineno"> 1309</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="namespaceShipCAD.html#aa0f3f220e102a298d2e698af90f5e1fcaea2a3030c56526b9d4d3675ca0d5cefe">vertical</a>:</div><div class="line"><a name="l01310"></a><span class="lineno"> 1310</span>&#160;        p = <a class="code" href="classShipCAD_1_1Plane.html">Plane</a>(0, 1, 0, -data.<a class="code" href="structShipCAD_1_1InsertPlaneDialogData.html#a73456e4622597dce48d16c05be358593">distance</a>);</div><div class="line"><a name="l01311"></a><span class="lineno"> 1311</span>&#160;        <span class="keywordflow">break</span>;</div><div class="line"><a name="l01312"></a><span class="lineno"> 1312</span>&#160;    <span class="keywordflow">default</span>:</div><div class="line"><a name="l01313"></a><span class="lineno"> 1313</span>&#160;        <span class="keyword">delete</span> uo;</div><div class="line"><a name="l01314"></a><span class="lineno"> 1314</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l01315"></a><span class="lineno"> 1315</span>&#160;    }</div><div class="line"><a name="l01316"></a><span class="lineno"> 1316</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#ada26b740ea1f317763b6ecd372f13ea2">insertPlane</a>(p, data.<a class="code" href="structShipCAD_1_1InsertPlaneDialogData.html#a930de438c156597564b6ae33dcea03c3">addControlCurveSelected</a>);</div><div class="line"><a name="l01317"></a><span class="lineno"> 1317</span>&#160;    <span class="keywordflow">if</span> (n &lt; <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;numberOfControlPoints()) {</div><div class="line"><a name="l01318"></a><span class="lineno"> 1318</span>&#160;        uo-&gt;<a class="code" href="classShipCAD_1_1UndoObject.html#a93bad349f284a0ff1cece56aa931f9e3">accept</a>();</div><div class="line"><a name="l01319"></a><span class="lineno"> 1319</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ab221977f2a8bd4d51d6ee777be0d7b8a">setBuild</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l01320"></a><span class="lineno"> 1320</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01321"></a><span class="lineno"> 1321</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01322"></a><span class="lineno"> 1322</span>&#160;    }</div><div class="line"><a name="l01323"></a><span class="lineno"> 1323</span>&#160;    <span class="keywordflow">else</span> {</div><div class="line"><a name="l01324"></a><span class="lineno"> 1324</span>&#160;        <span class="keyword">delete</span> uo;</div><div class="line"><a name="l01325"></a><span class="lineno"> 1325</span>&#160;    }</div><div class="line"><a name="l01326"></a><span class="lineno"> 1326</span>&#160;}</div><div class="line"><a name="l01327"></a><span class="lineno"> 1327</span>&#160;</div><div class="line"><a name="l01328"></a><span class="lineno"> 1328</span>&#160;<span class="comment">// FreeShipUnit.pas:10170</span></div><div class="line"><a name="l01329"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a2a4079dc0201ed5e22776fbe942143f2"> 1329</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a2a4079dc0201ed5e22776fbe942143f2">Controller::intersectLayerPoint</a>()</div><div class="line"><a name="l01330"></a><span class="lineno"> 1330</span>&#160;{</div><div class="line"><a name="l01331"></a><span class="lineno"> 1331</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::intersectLayerPoint&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01332"></a><span class="lineno"> 1332</span>&#160;    <a class="code" href="structShipCAD_1_1IntersectLayersDialogData.html">IntersectLayersDialogData</a> data;</div><div class="line"><a name="l01333"></a><span class="lineno"> 1333</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=0; i&lt;<a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a011480014cfb68430c9f60aff474936c">numberOfLayers</a>(); i++) {</div><div class="line"><a name="l01334"></a><span class="lineno"> 1334</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a24b230e51a0c5fb3e7f51d0e2340eb9f">getLayer</a>(i)-&gt;<a class="code" href="classShipCAD_1_1SubdivisionLayer.html#ad0d77de06b53814e248fc9bbfa908252">numberOfFaces</a>() &gt; 0)</div><div class="line"><a name="l01335"></a><span class="lineno"> 1335</span>&#160;            data.<a class="code" href="structShipCAD_1_1IntersectLayersDialogData.html#a4eaea862a9ce61c04b6a1d0b972ca9c1">layers</a>.push_back(<a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;getLayer(i));</div><div class="line"><a name="l01336"></a><span class="lineno"> 1336</span>&#160;    }</div><div class="line"><a name="l01337"></a><span class="lineno"> 1337</span>&#160;    <span class="keywordflow">if</span> (data.<a class="code" href="structShipCAD_1_1IntersectLayersDialogData.html#a4eaea862a9ce61c04b6a1d0b972ca9c1">layers</a>.size() &lt;= 1) {</div><div class="line"><a name="l01338"></a><span class="lineno"> 1338</span>&#160;        <span class="comment">// msg 0166</span></div><div class="line"><a name="l01339"></a><span class="lineno"> 1339</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#a108f5d44546cab9a8e58a7e8d187a68e">displayWarningDialog</a>(tr(<span class="stringliteral">&quot;At least two layers are needed to perform this operation.&quot;</span>));</div><div class="line"><a name="l01340"></a><span class="lineno"> 1340</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l01341"></a><span class="lineno"> 1341</span>&#160;    }</div><div class="line"><a name="l01342"></a><span class="lineno"> 1342</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#aa33036772c52e52368b5cc4ebfbbe487">exeIntersectLayersDialog</a>(data);</div><div class="line"><a name="l01343"></a><span class="lineno"> 1343</span>&#160;    <span class="keywordflow">if</span> (data.<a class="code" href="structShipCAD_1_1IntersectLayersDialogData.html#a7e7e7ce1ce0b9f4febc9fa82b1c9a2f8">accepted</a>) {</div><div class="line"><a name="l01344"></a><span class="lineno"> 1344</span>&#160;        <a class="code" href="classShipCAD_1_1SubdivisionLayer.html">SubdivisionLayer</a>* layer1 = data.<a class="code" href="structShipCAD_1_1IntersectLayersDialogData.html#a4eaea862a9ce61c04b6a1d0b972ca9c1">layers</a>[data.<a class="code" href="structShipCAD_1_1IntersectLayersDialogData.html#a2a06240ead3bc2d61dbc5bb3eb21ea99">layer1</a>];</div><div class="line"><a name="l01345"></a><span class="lineno"> 1345</span>&#160;        <a class="code" href="classShipCAD_1_1SubdivisionLayer.html">SubdivisionLayer</a>* layer2 = data.<a class="code" href="structShipCAD_1_1IntersectLayersDialogData.html#a4eaea862a9ce61c04b6a1d0b972ca9c1">layers</a>[data.<a class="code" href="structShipCAD_1_1IntersectLayersDialogData.html#ad138f2eea90f7bac0a9c331375b1704a">layer2</a>];</div><div class="line"><a name="l01346"></a><span class="lineno"> 1346</span>&#160;        <span class="comment">// msg 0164</span></div><div class="line"><a name="l01347"></a><span class="lineno"> 1347</span>&#160;        <a class="code" href="classShipCAD_1_1UndoObject.html">UndoObject</a>* uo = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;layer intersection&quot;</span>), <span class="keyword">false</span>);</div><div class="line"><a name="l01348"></a><span class="lineno"> 1348</span>&#160;        <span class="keywordflow">if</span> (layer1-&gt;<a class="code" href="classShipCAD_1_1SubdivisionLayer.html#ab2d11ebf60ad6edd818eb0c42971946c">calculateIntersectionPoints</a>(layer2)) {</div><div class="line"><a name="l01349"></a><span class="lineno"> 1349</span>&#160;            uo-&gt;<a class="code" href="classShipCAD_1_1UndoObject.html#a93bad349f284a0ff1cece56aa931f9e3">accept</a>();</div><div class="line"><a name="l01350"></a><span class="lineno"> 1350</span>&#160;            <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ab221977f2a8bd4d51d6ee777be0d7b8a">setBuild</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l01351"></a><span class="lineno"> 1351</span>&#160;            <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01352"></a><span class="lineno"> 1352</span>&#160;            emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01353"></a><span class="lineno"> 1353</span>&#160;        }</div><div class="line"><a name="l01354"></a><span class="lineno"> 1354</span>&#160;        <span class="keywordflow">else</span> {</div><div class="line"><a name="l01355"></a><span class="lineno"> 1355</span>&#160;            <span class="keyword">delete</span> uo;</div><div class="line"><a name="l01356"></a><span class="lineno"> 1356</span>&#160;            <span class="comment">// msg 0165</span></div><div class="line"><a name="l01357"></a><span class="lineno"> 1357</span>&#160;            emit <a class="code" href="classShipCAD_1_1Controller.html#a202940610fb5179281bc045b8e9f9925">displayErrorDialog</a>(tr(<span class="stringliteral">&quot;No intersection points found.&quot;</span>));</div><div class="line"><a name="l01358"></a><span class="lineno"> 1358</span>&#160;        }</div><div class="line"><a name="l01359"></a><span class="lineno"> 1359</span>&#160;    }</div><div class="line"><a name="l01360"></a><span class="lineno"> 1360</span>&#160;}</div><div class="line"><a name="l01361"></a><span class="lineno"> 1361</span>&#160;</div><div class="line"><a name="l01362"></a><span class="lineno"> 1362</span>&#160;<span class="comment">// FreeShipUnit.pas:10207</span></div><div class="line"><a name="l01363"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#ad447a70b9f88ca1b9a81492fc3b86e2b"> 1363</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#ad447a70b9f88ca1b9a81492fc3b86e2b">Controller::lockPoints</a>()</div><div class="line"><a name="l01364"></a><span class="lineno"> 1364</span>&#160;{</div><div class="line"><a name="l01365"></a><span class="lineno"> 1365</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::lockPoints&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01366"></a><span class="lineno"> 1366</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionSurface.html">SubdivisionSurface</a>* surf = <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>();</div><div class="line"><a name="l01367"></a><span class="lineno"> 1367</span>&#160;    <span class="keywordflow">if</span> (surf-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#add27457b6d8b5e3479c34dbb0124c606">numberOfSelectedLockedPoints</a>() &lt; surf-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a578aeb421311cb0f0080762b403577b6">numberOfSelectedControlPoints</a>()) {</div><div class="line"><a name="l01368"></a><span class="lineno"> 1368</span>&#160;        <span class="comment">// msg 0167</span></div><div class="line"><a name="l01369"></a><span class="lineno"> 1369</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;lock points&quot;</span>), <span class="keyword">true</span>);</div><div class="line"><a name="l01370"></a><span class="lineno"> 1370</span>&#160;        <a class="code" href="classOrderedPointMap.html">OrderedPointMap</a>&amp; ptmap = surf-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#abf8b8f77097b24be87696d15273611bd">getSelControlPointCollection</a>();</div><div class="line"><a name="l01371"></a><span class="lineno"> 1371</span>&#160;        <span class="keywordflow">for</span> (<a class="code" href="classOrderedPointMapIterator.html">OrderedPointMap::iterator</a> i=ptmap.<a class="code" href="classOrderedPointMap.html#a4e4a269c790a35950901207c0d9ff4fb">begin</a>(); i!=ptmap.<a class="code" href="classOrderedPointMap.html#a2b4e1630f6b13dba32a7200c670331cf">end</a>(); ++i) {</div><div class="line"><a name="l01372"></a><span class="lineno"> 1372</span>&#160;            (*i)-&gt;setLocked(<span class="keyword">true</span>);</div><div class="line"><a name="l01373"></a><span class="lineno"> 1373</span>&#160;        }</div><div class="line"><a name="l01374"></a><span class="lineno"> 1374</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01375"></a><span class="lineno"> 1375</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01376"></a><span class="lineno"> 1376</span>&#160;    }</div><div class="line"><a name="l01377"></a><span class="lineno"> 1377</span>&#160;}</div><div class="line"><a name="l01378"></a><span class="lineno"> 1378</span>&#160;</div><div class="line"><a name="l01379"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a0770afe637ab88118b6957f20ceb8942"> 1379</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a0770afe637ab88118b6957f20ceb8942">Controller::newPoint</a>()</div><div class="line"><a name="l01380"></a><span class="lineno"> 1380</span>&#160;{</div><div class="line"><a name="l01381"></a><span class="lineno"> 1381</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::newPoint&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01382"></a><span class="lineno"> 1382</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html">SubdivisionControlPoint</a>* pt = <a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html#adc189f3e5cff85ecd1a59356e0f7d63d">SubdivisionControlPoint::construct</a>(<a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>());</div><div class="line"><a name="l01383"></a><span class="lineno"> 1383</span>&#160;    pt-&gt;<a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html#a54a5233e02ef34a174c24d5dcf3c6407">setCoordinate</a>(<a class="code" href="namespaceShipCAD.html#a949bc53a1634b268b43de672807480fb">ZERO</a>);</div><div class="line"><a name="l01384"></a><span class="lineno"> 1384</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#af644edd0d4ba993dbab280f036b37171">addControlPoint</a>(pt);</div><div class="line"><a name="l01385"></a><span class="lineno"> 1385</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a65cc43d93da8ed72af631e893057c773">setSelectedControlPoint</a>(pt);</div><div class="line"><a name="l01386"></a><span class="lineno"> 1386</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a523a7e9948d95a71e9008d386daeafee">setActiveControlPoint</a>(pt);</div><div class="line"><a name="l01387"></a><span class="lineno"> 1387</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01388"></a><span class="lineno"> 1388</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#a24cda66f9ccc1c9bc24f8885bcf97255">showControlPointDialog</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01389"></a><span class="lineno"> 1389</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#a35f446710a96c227f1794eacaef7ba6a">updateControlPointValue</a>(pt);</div><div class="line"><a name="l01390"></a><span class="lineno"> 1390</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01391"></a><span class="lineno"> 1391</span>&#160;}</div><div class="line"><a name="l01392"></a><span class="lineno"> 1392</span>&#160;</div><div class="line"><a name="l01393"></a><span class="lineno"> 1393</span>&#160;<span class="comment">// FreeShipUnit.pas:13645</span></div><div class="line"><a name="l01394"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a8f573f351b3f9568618e44ab39fb2a7e"> 1394</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a8f573f351b3f9568618e44ab39fb2a7e">Controller::movePoint</a>(QVector3D changedCoords)</div><div class="line"><a name="l01395"></a><span class="lineno"> 1395</span>&#160;{</div><div class="line"><a name="l01396"></a><span class="lineno"> 1396</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::movePoint&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01397"></a><span class="lineno"> 1397</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;numberOfSelectedControlPoints() != 1)</div><div class="line"><a name="l01398"></a><span class="lineno"> 1398</span>&#160;        <span class="keywordflow">throw</span> invalid_argument(<span class="stringliteral">&quot;moving multiple points at once&quot;</span>);</div><div class="line"><a name="l01399"></a><span class="lineno"> 1399</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html">SubdivisionControlPoint</a>* pt = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#afe13cf557e067ae883433aa6f5afaf6a">getActiveControlPoint</a>();</div><div class="line"><a name="l01400"></a><span class="lineno"> 1400</span>&#160;    <span class="keywordflow">if</span> (pt-&gt;<a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html#a85c52118d96f400be4705bf419b412c6">isLocked</a>()) {</div><div class="line"><a name="l01401"></a><span class="lineno"> 1401</span>&#160;        <span class="comment">// msg 0191, warning</span></div><div class="line"><a name="l01402"></a><span class="lineno"> 1402</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#a108f5d44546cab9a8e58a7e8d187a68e">displayWarningDialog</a>(tr(<span class="stringliteral">&quot;Locked points can not be moved!&quot;</span>));</div><div class="line"><a name="l01403"></a><span class="lineno"> 1403</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l01404"></a><span class="lineno"> 1404</span>&#160;    }</div><div class="line"><a name="l01405"></a><span class="lineno"> 1405</span>&#160;    <span class="keywordflow">if</span> (!_point_first_moved) {</div><div class="line"><a name="l01406"></a><span class="lineno"> 1406</span>&#160;        <span class="comment">// if we just started to move the point, create an undo</span></div><div class="line"><a name="l01407"></a><span class="lineno"> 1407</span>&#160;        _point_first_moved = <span class="keyword">true</span>;</div><div class="line"><a name="l01408"></a><span class="lineno"> 1408</span>&#160;        <span class="comment">// msg 0190</span></div><div class="line"><a name="l01409"></a><span class="lineno"> 1409</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;point move&quot;</span>), <span class="keyword">true</span>);</div><div class="line"><a name="l01410"></a><span class="lineno"> 1410</span>&#160;    }</div><div class="line"><a name="l01411"></a><span class="lineno"> 1411</span>&#160;    QVector3D updated = pt-&gt;<a class="code" href="classShipCAD_1_1SubdivisionPoint.html#a285325115089a1b99be4480bf6079bf1">getCoordinate</a>();</div><div class="line"><a name="l01412"></a><span class="lineno"> 1412</span>&#160;    <span class="keywordflow">if</span> (changedCoords.x() != 0.0)</div><div class="line"><a name="l01413"></a><span class="lineno"> 1413</span>&#160;        updated.setX(changedCoords.x());</div><div class="line"><a name="l01414"></a><span class="lineno"> 1414</span>&#160;    <span class="keywordflow">if</span> (changedCoords.y() != 0.0)</div><div class="line"><a name="l01415"></a><span class="lineno"> 1415</span>&#160;        updated.setY(changedCoords.y());</div><div class="line"><a name="l01416"></a><span class="lineno"> 1416</span>&#160;    <span class="keywordflow">if</span> (changedCoords.z() != 0.0)</div><div class="line"><a name="l01417"></a><span class="lineno"> 1417</span>&#160;        updated.setZ(changedCoords.z());</div><div class="line"><a name="l01418"></a><span class="lineno"> 1418</span>&#160;    pt-&gt;<a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html#a54a5233e02ef34a174c24d5dcf3c6407">setCoordinate</a>(updated);</div><div class="line"><a name="l01419"></a><span class="lineno"> 1419</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01420"></a><span class="lineno"> 1420</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#a35f446710a96c227f1794eacaef7ba6a">updateControlPointValue</a>(pt);</div><div class="line"><a name="l01421"></a><span class="lineno"> 1421</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01422"></a><span class="lineno"> 1422</span>&#160;}</div><div class="line"><a name="l01423"></a><span class="lineno"> 1423</span>&#160;</div><div class="line"><a name="l01424"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#ac7684b3ff9abd0fa80f9ab0c95458a03"> 1424</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#ac7684b3ff9abd0fa80f9ab0c95458a03">Controller::stopMovePoint</a>()</div><div class="line"><a name="l01425"></a><span class="lineno"> 1425</span>&#160;{</div><div class="line"><a name="l01426"></a><span class="lineno"> 1426</span>&#160;    _point_first_moved = <span class="keyword">false</span>;</div><div class="line"><a name="l01427"></a><span class="lineno"> 1427</span>&#160;}</div><div class="line"><a name="l01428"></a><span class="lineno"> 1428</span>&#160;</div><div class="line"><a name="l01429"></a><span class="lineno"> 1429</span>&#160;<span class="comment">// FreeShipUnit:10356</span></div><div class="line"><a name="l01430"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#aaf39d00fed33f46dea7d5f6a8b5839f1"> 1430</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#aaf39d00fed33f46dea7d5f6a8b5839f1">Controller::projectStraightLinePoint</a>()</div><div class="line"><a name="l01431"></a><span class="lineno"> 1431</span>&#160;{</div><div class="line"><a name="l01432"></a><span class="lineno"> 1432</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionSurface.html">SubdivisionSurface</a>* surf = <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>();</div><div class="line"><a name="l01433"></a><span class="lineno"> 1433</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::projectStraightLinePoint&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01434"></a><span class="lineno"> 1434</span>&#160;    <span class="keywordflow">if</span> (surf-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a578aeb421311cb0f0080762b403577b6">numberOfSelectedControlPoints</a>() &lt; 3) {</div><div class="line"><a name="l01435"></a><span class="lineno"> 1435</span>&#160;        <span class="comment">// msg 0xxx</span></div><div class="line"><a name="l01436"></a><span class="lineno"> 1436</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#a108f5d44546cab9a8e58a7e8d187a68e">displayWarningDialog</a>(tr(<span class="stringliteral">&quot;At least 3 points must be selected to align&quot;</span>));</div><div class="line"><a name="l01437"></a><span class="lineno"> 1437</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l01438"></a><span class="lineno"> 1438</span>&#160;    }</div><div class="line"><a name="l01439"></a><span class="lineno"> 1439</span>&#160;    <span class="comment">// determine if the number of points to be moved doesn&#39;t contain locked controlpoints only</span></div><div class="line"><a name="l01440"></a><span class="lineno"> 1440</span>&#160;    <span class="comment">// however the first and last points (determining the line segment) are allowed to be locked</span></div><div class="line"><a name="l01441"></a><span class="lineno"> 1441</span>&#160;    <span class="keywordtype">size_t</span> nlocked = 0;</div><div class="line"><a name="l01442"></a><span class="lineno"> 1442</span>&#160;    <a class="code" href="classOrderedPointMap.html">OrderedPointMap</a>&amp; ptset = <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#abf8b8f77097b24be87696d15273611bd">getSelControlPointCollection</a>();</div><div class="line"><a name="l01443"></a><span class="lineno"> 1443</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=1; i&lt;ptset.<a class="code" href="classOrderedPointMap.html#a17d63e3732a91baa412fd265d18ac7c1">size</a>()-1; i++) {</div><div class="line"><a name="l01444"></a><span class="lineno"> 1444</span>&#160;        <span class="keywordflow">if</span> (ptset.<a class="code" href="classOrderedPointMap.html#ae87e03500550c05c9b5fe8bd5554a88a">get</a>(i)-&gt;<a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html#a85c52118d96f400be4705bf419b412c6">isLocked</a>())</div><div class="line"><a name="l01445"></a><span class="lineno"> 1445</span>&#160;            nlocked++;</div><div class="line"><a name="l01446"></a><span class="lineno"> 1446</span>&#160;    }</div><div class="line"><a name="l01447"></a><span class="lineno"> 1447</span>&#160;    <span class="comment">// number of locked points must be smaller than selected control points</span></div><div class="line"><a name="l01448"></a><span class="lineno"> 1448</span>&#160;    <span class="keywordflow">if</span> (nlocked &lt; ptset.<a class="code" href="classOrderedPointMap.html#a17d63e3732a91baa412fd265d18ac7c1">size</a>() - 2) {</div><div class="line"><a name="l01449"></a><span class="lineno"> 1449</span>&#160;        <a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html">SubdivisionControlPoint</a>* p1 = ptset.<a class="code" href="classOrderedPointMap.html#ae87e03500550c05c9b5fe8bd5554a88a">get</a>(static_cast&lt;size_t&gt;(0));</div><div class="line"><a name="l01450"></a><span class="lineno"> 1450</span>&#160;        <a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html">SubdivisionControlPoint</a>* p2 = ptset.<a class="code" href="classOrderedPointMap.html#ae87e03500550c05c9b5fe8bd5554a88a">get</a>(ptset.<a class="code" href="classOrderedPointMap.html#a17d63e3732a91baa412fd265d18ac7c1">size</a>()-1);</div><div class="line"><a name="l01451"></a><span class="lineno"> 1451</span>&#160;        <span class="comment">// msg 0171</span></div><div class="line"><a name="l01452"></a><span class="lineno"> 1452</span>&#160;        <a class="code" href="classShipCAD_1_1UndoObject.html">UndoObject</a>* uo = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;align points&quot;</span>), <span class="keyword">false</span>);</div><div class="line"><a name="l01453"></a><span class="lineno"> 1453</span>&#160;        <span class="keywordtype">size_t</span> nchanged = 0;</div><div class="line"><a name="l01454"></a><span class="lineno"> 1454</span>&#160;        <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=1; i&lt;ptset.<a class="code" href="classOrderedPointMap.html#a17d63e3732a91baa412fd265d18ac7c1">size</a>()-1; i++) {</div><div class="line"><a name="l01455"></a><span class="lineno"> 1455</span>&#160;            <a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html">SubdivisionControlPoint</a>* point = ptset.<a class="code" href="classOrderedPointMap.html#ae87e03500550c05c9b5fe8bd5554a88a">get</a>(i);</div><div class="line"><a name="l01456"></a><span class="lineno"> 1456</span>&#160;            <span class="keywordflow">if</span> (point-&gt;<a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html#a85c52118d96f400be4705bf419b412c6">isLocked</a>())</div><div class="line"><a name="l01457"></a><span class="lineno"> 1457</span>&#160;                <span class="keywordflow">continue</span>;</div><div class="line"><a name="l01458"></a><span class="lineno"> 1458</span>&#160;            QVector3D p = <a class="code" href="namespaceShipCAD.html#a30b09a2ad6cc05c2ce1cdc450a0857d1">PointProjectToLine</a>(p1-&gt;<a class="code" href="classShipCAD_1_1SubdivisionPoint.html#a285325115089a1b99be4480bf6079bf1">getCoordinate</a>(),</div><div class="line"><a name="l01459"></a><span class="lineno"> 1459</span>&#160;                                             p2-&gt;<a class="code" href="classShipCAD_1_1SubdivisionPoint.html#a285325115089a1b99be4480bf6079bf1">getCoordinate</a>(),</div><div class="line"><a name="l01460"></a><span class="lineno"> 1460</span>&#160;                                             point-&gt;<a class="code" href="classShipCAD_1_1SubdivisionPoint.html#a285325115089a1b99be4480bf6079bf1">getCoordinate</a>());</div><div class="line"><a name="l01461"></a><span class="lineno"> 1461</span>&#160;            <span class="keywordflow">if</span> (p.distanceToPoint(point-&gt;<a class="code" href="classShipCAD_1_1SubdivisionPoint.html#a285325115089a1b99be4480bf6079bf1">getCoordinate</a>()) &gt; 1E-5) {</div><div class="line"><a name="l01462"></a><span class="lineno"> 1462</span>&#160;                point-&gt;<a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html#a54a5233e02ef34a174c24d5dcf3c6407">setCoordinate</a>(p);</div><div class="line"><a name="l01463"></a><span class="lineno"> 1463</span>&#160;                nchanged++;</div><div class="line"><a name="l01464"></a><span class="lineno"> 1464</span>&#160;            }</div><div class="line"><a name="l01465"></a><span class="lineno"> 1465</span>&#160;        }</div><div class="line"><a name="l01466"></a><span class="lineno"> 1466</span>&#160;        <span class="keywordflow">if</span> (nchanged &gt; 0) {</div><div class="line"><a name="l01467"></a><span class="lineno"> 1467</span>&#160;            uo-&gt;<a class="code" href="classShipCAD_1_1UndoObject.html#a93bad349f284a0ff1cece56aa931f9e3">accept</a>();</div><div class="line"><a name="l01468"></a><span class="lineno"> 1468</span>&#160;            <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ab221977f2a8bd4d51d6ee777be0d7b8a">setBuild</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l01469"></a><span class="lineno"> 1469</span>&#160;            <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01470"></a><span class="lineno"> 1470</span>&#160;            emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01471"></a><span class="lineno"> 1471</span>&#160;        } <span class="keywordflow">else</span> {</div><div class="line"><a name="l01472"></a><span class="lineno"> 1472</span>&#160;            <span class="keyword">delete</span> uo;</div><div class="line"><a name="l01473"></a><span class="lineno"> 1473</span>&#160;        }</div><div class="line"><a name="l01474"></a><span class="lineno"> 1474</span>&#160;    } <span class="keywordflow">else</span> {</div><div class="line"><a name="l01475"></a><span class="lineno"> 1475</span>&#160;        <span class="comment">// msg 0172</span></div><div class="line"><a name="l01476"></a><span class="lineno"> 1476</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#a202940610fb5179281bc045b8e9f9925">displayErrorDialog</a>(tr(<span class="stringliteral">&quot;All of the selected points are locked and cannot be moved&quot;</span>));</div><div class="line"><a name="l01477"></a><span class="lineno"> 1477</span>&#160;    }</div><div class="line"><a name="l01478"></a><span class="lineno"> 1478</span>&#160;}</div><div class="line"><a name="l01479"></a><span class="lineno"> 1479</span>&#160;</div><div class="line"><a name="l01480"></a><span class="lineno"> 1480</span>&#160;<span class="comment">// FreeShipUnit.pas:10221</span></div><div class="line"><a name="l01481"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a7038d511c9398f34ec9df3d0a1311b14"> 1481</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a7038d511c9398f34ec9df3d0a1311b14">Controller::unlockPoints</a>()</div><div class="line"><a name="l01482"></a><span class="lineno"> 1482</span>&#160;{</div><div class="line"><a name="l01483"></a><span class="lineno"> 1483</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::unlockPoints&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01484"></a><span class="lineno"> 1484</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;numberOfSelectedLockedPoints() == 0)</div><div class="line"><a name="l01485"></a><span class="lineno"> 1485</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l01486"></a><span class="lineno"> 1486</span>&#160;    <span class="comment">// msg 0168</span></div><div class="line"><a name="l01487"></a><span class="lineno"> 1487</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;unlock points&quot;</span>), <span class="keyword">true</span>);</div><div class="line"><a name="l01488"></a><span class="lineno"> 1488</span>&#160;    <a class="code" href="classOrderedPointMap.html">OrderedPointMap</a>&amp; ptset = <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#abf8b8f77097b24be87696d15273611bd">getSelControlPointCollection</a>();</div><div class="line"><a name="l01489"></a><span class="lineno"> 1489</span>&#160;    <span class="keywordflow">for</span> (<a class="code" href="classOrderedPointMapIterator.html">OrderedPointMap::iterator</a> i=ptset.<a class="code" href="classOrderedPointMap.html#a4e4a269c790a35950901207c0d9ff4fb">begin</a>(); i!=ptset.<a class="code" href="classOrderedPointMap.html#a2b4e1630f6b13dba32a7200c670331cf">end</a>(); ++i) {</div><div class="line"><a name="l01490"></a><span class="lineno"> 1490</span>&#160;        (*i)-&gt;setLocked(<span class="keyword">false</span>);</div><div class="line"><a name="l01491"></a><span class="lineno"> 1491</span>&#160;    }</div><div class="line"><a name="l01492"></a><span class="lineno"> 1492</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01493"></a><span class="lineno"> 1493</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01494"></a><span class="lineno"> 1494</span>&#160;}</div><div class="line"><a name="l01495"></a><span class="lineno"> 1495</span>&#160;</div><div class="line"><a name="l01496"></a><span class="lineno"> 1496</span>&#160;<span class="comment">// FreeShipUnit.pas:10235</span></div><div class="line"><a name="l01497"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#af983f99c449cd485a6362768a64d3c1e"> 1497</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#af983f99c449cd485a6362768a64d3c1e">Controller::unlockAllPoints</a>()</div><div class="line"><a name="l01498"></a><span class="lineno"> 1498</span>&#160;{</div><div class="line"><a name="l01499"></a><span class="lineno"> 1499</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::unlockAllPoints&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01500"></a><span class="lineno"> 1500</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;numberOfLockedPoints() == 0)</div><div class="line"><a name="l01501"></a><span class="lineno"> 1501</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l01502"></a><span class="lineno"> 1502</span>&#160;    <span class="comment">// msg 0169</span></div><div class="line"><a name="l01503"></a><span class="lineno"> 1503</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;unlock all points&quot;</span>), <span class="keyword">true</span>);</div><div class="line"><a name="l01504"></a><span class="lineno"> 1504</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=0; i&lt;<a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a994923f432129431b30d6b532059a6ab">numberOfControlPoints</a>(); i++) {</div><div class="line"><a name="l01505"></a><span class="lineno"> 1505</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a534abfeaab8e30436c7ba4f14048472a">getControlPoint</a>(i)-&gt;<a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html#a5f2cde3c54ca44c4b4d3ded0e3bc4ded">setLocked</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l01506"></a><span class="lineno"> 1506</span>&#160;    }</div><div class="line"><a name="l01507"></a><span class="lineno"> 1507</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01508"></a><span class="lineno"> 1508</span>&#160;    <span class="comment">// msg 0170</span></div><div class="line"><a name="l01509"></a><span class="lineno"> 1509</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#a5e3d8876bd01217eda54b73c06a42d47">displayInfoDialog</a>(tr(<span class="stringliteral">&quot;points unlocked&quot;</span>));</div><div class="line"><a name="l01510"></a><span class="lineno"> 1510</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01511"></a><span class="lineno"> 1511</span>&#160;}</div><div class="line"><a name="l01512"></a><span class="lineno"> 1512</span>&#160;</div><div class="line"><a name="l01513"></a><span class="lineno"> 1513</span>&#160;<span class="comment">// FreeShipUnit.pas:10251</span></div><div class="line"><a name="l01514"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a2b2d3d9fbd9fd115ae8e80fa57930277"> 1514</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1Controller.html#a2b2d3d9fbd9fd115ae8e80fa57930277">Controller::proceedWhenLockedPoints</a>()</div><div class="line"><a name="l01515"></a><span class="lineno"> 1515</span>&#160;{</div><div class="line"><a name="l01516"></a><span class="lineno"> 1516</span>&#160;    <span class="keywordtype">bool</span> proceed = <span class="keyword">true</span>;</div><div class="line"><a name="l01517"></a><span class="lineno"> 1517</span>&#160;    <span class="comment">// show proceed dialog</span></div><div class="line"><a name="l01518"></a><span class="lineno"> 1518</span>&#160;    <span class="comment">// msg 0086 + msg 0087</span></div><div class="line"><a name="l01519"></a><span class="lineno"> 1519</span>&#160;    QString msg(<span class="stringliteral">&quot;%1\n%2&quot;</span>);</div><div class="line"><a name="l01520"></a><span class="lineno"> 1520</span>&#160;    msg.arg(tr(<span class="stringliteral">&quot;The selection contains locked points that will not be affected by this operation&quot;</span>))</div><div class="line"><a name="l01521"></a><span class="lineno"> 1521</span>&#160;        .arg(tr(<span class="stringliteral">&quot;Are you sure you want to continue?&quot;</span>));</div><div class="line"><a name="l01522"></a><span class="lineno"> 1522</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#ae37d12b77bce8119a3562aba8e5b7ef0">displayQuestionDialog</a>(msg, proceed);</div><div class="line"><a name="l01523"></a><span class="lineno"> 1523</span>&#160;    <span class="keywordflow">return</span> proceed;</div><div class="line"><a name="l01524"></a><span class="lineno"> 1524</span>&#160;}</div><div class="line"><a name="l01525"></a><span class="lineno"> 1525</span>&#160;</div><div class="line"><a name="l01526"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a6809e5172d21a2bdd439317e533d9c0b"> 1526</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a6809e5172d21a2bdd439317e533d9c0b">Controller::delftResistance</a>()</div><div class="line"><a name="l01527"></a><span class="lineno"> 1527</span>&#160;{</div><div class="line"><a name="l01528"></a><span class="lineno"> 1528</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l01529"></a><span class="lineno"> 1529</span>&#160;}</div><div class="line"><a name="l01530"></a><span class="lineno"> 1530</span>&#160;</div><div class="line"><a name="l01531"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#ad4335a4380f34eace0a0aa6a3a4abdf5"> 1531</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#ad4335a4380f34eace0a0aa6a3a4abdf5">Controller::kaperResistance</a>()</div><div class="line"><a name="l01532"></a><span class="lineno"> 1532</span>&#160;{</div><div class="line"><a name="l01533"></a><span class="lineno"> 1533</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l01534"></a><span class="lineno"> 1534</span>&#160;}</div><div class="line"><a name="l01535"></a><span class="lineno"> 1535</span>&#160;</div><div class="line"><a name="l01536"></a><span class="lineno"> 1536</span>&#160;<span class="comment">// FreeShipUnit.pas:10402</span></div><div class="line"><a name="l01537"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a993e2dfe6bb88cf07375e6a57d2d15a5"> 1537</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a993e2dfe6bb88cf07375e6a57d2d15a5">Controller::clearSelections</a>()</div><div class="line"><a name="l01538"></a><span class="lineno"> 1538</span>&#160;{</div><div class="line"><a name="l01539"></a><span class="lineno"> 1539</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::clearSelections&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01540"></a><span class="lineno"> 1540</span>&#160;    <span class="keywordtype">size_t</span> n = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a859625224375157010421a69f96ec639">countSelectedItems</a>();</div><div class="line"><a name="l01541"></a><span class="lineno"> 1541</span>&#160;    <span class="keywordflow">if</span> (n == 0)</div><div class="line"><a name="l01542"></a><span class="lineno"> 1542</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l01543"></a><span class="lineno"> 1543</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a690bd5621d82d15a28ea59c09ded99d8">clearSelectedItems</a>();</div><div class="line"><a name="l01544"></a><span class="lineno"> 1544</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a523a7e9948d95a71e9008d386daeafee">setActiveControlPoint</a>(0);</div><div class="line"><a name="l01545"></a><span class="lineno"> 1545</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#a24cda66f9ccc1c9bc24f8885bcf97255">showControlPointDialog</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l01546"></a><span class="lineno"> 1546</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01547"></a><span class="lineno"> 1547</span>&#160;}</div><div class="line"><a name="l01548"></a><span class="lineno"> 1548</span>&#160;</div><div class="line"><a name="l01549"></a><span class="lineno"> 1549</span>&#160;<span class="comment">// FreeShipUnit.pas:10411</span></div><div class="line"><a name="l01550"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a07a48262bd736b3e2e3da4123b1f08a4"> 1550</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a07a48262bd736b3e2e3da4123b1f08a4">Controller::deleteSelections</a>()</div><div class="line"><a name="l01551"></a><span class="lineno"> 1551</span>&#160;{</div><div class="line"><a name="l01552"></a><span class="lineno"> 1552</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::deleteSelections&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01553"></a><span class="lineno"> 1553</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;countSelectedItems() == 0)</div><div class="line"><a name="l01554"></a><span class="lineno"> 1554</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l01555"></a><span class="lineno"> 1555</span>&#160;    <span class="comment">// msg 0175</span></div><div class="line"><a name="l01556"></a><span class="lineno"> 1556</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;delete&quot;</span>), <span class="keyword">true</span>);</div><div class="line"><a name="l01557"></a><span class="lineno"> 1557</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a83dbf01267c7736a8676336785178db6">deleteSelected</a>();</div><div class="line"><a name="l01558"></a><span class="lineno"> 1558</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a523a7e9948d95a71e9008d386daeafee">setActiveControlPoint</a>(0);</div><div class="line"><a name="l01559"></a><span class="lineno"> 1559</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ab221977f2a8bd4d51d6ee777be0d7b8a">setBuild</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l01560"></a><span class="lineno"> 1560</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01561"></a><span class="lineno"> 1561</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#a24cda66f9ccc1c9bc24f8885bcf97255">showControlPointDialog</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l01562"></a><span class="lineno"> 1562</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01563"></a><span class="lineno"> 1563</span>&#160;}</div><div class="line"><a name="l01564"></a><span class="lineno"> 1564</span>&#160;</div><div class="line"><a name="l01565"></a><span class="lineno"> 1565</span>&#160;<span class="comment">// FreeShipUnit.pas:10438</span></div><div class="line"><a name="l01566"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a97a0dfdd229e0d7e0e7d5995dd9095a3"> 1566</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a97a0dfdd229e0d7e0e7d5995dd9095a3">Controller::selectAll</a>()</div><div class="line"><a name="l01567"></a><span class="lineno"> 1567</span>&#160;{</div><div class="line"><a name="l01568"></a><span class="lineno"> 1568</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::selectAll&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01569"></a><span class="lineno"> 1569</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=0; i&lt;<a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a011480014cfb68430c9f60aff474936c">numberOfLayers</a>(); i++) {</div><div class="line"><a name="l01570"></a><span class="lineno"> 1570</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a24b230e51a0c5fb3e7f51d0e2340eb9f">getLayer</a>(i)-&gt;<a class="code" href="classShipCAD_1_1SubdivisionLayer.html#adb65832883b6d2c88803d62edb48588b">isVisible</a>()) {</div><div class="line"><a name="l01571"></a><span class="lineno"> 1571</span>&#160;            <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> j=0; j&lt;<a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a24b230e51a0c5fb3e7f51d0e2340eb9f">getLayer</a>(i)-&gt;<a class="code" href="classShipCAD_1_1SubdivisionLayer.html#ad0d77de06b53814e248fc9bbfa908252">numberOfFaces</a>(); j++)</div><div class="line"><a name="l01572"></a><span class="lineno"> 1572</span>&#160;                <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a24b230e51a0c5fb3e7f51d0e2340eb9f">getLayer</a>(i)-&gt;<a class="code" href="classShipCAD_1_1SubdivisionLayer.html#a2e1538a000268fe5f56bf2bea4973c23">getFace</a>(j)-&gt;<a class="code" href="classShipCAD_1_1SubdivisionControlFace.html#a2ce580378cd200faec6a24d9d794c68e">setSelected</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01573"></a><span class="lineno"> 1573</span>&#160;        }</div><div class="line"><a name="l01574"></a><span class="lineno"> 1574</span>&#160;    }</div><div class="line"><a name="l01575"></a><span class="lineno"> 1575</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=0; i&lt;<a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a1166213c5440962c118b688d1aa0aa28">numberOfControlEdges</a>(); i++) {</div><div class="line"><a name="l01576"></a><span class="lineno"> 1576</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#ab25a7a80800de3a4c1eac65397ce25e0">getControlEdge</a>(i)-&gt;<a class="code" href="classShipCAD_1_1SubdivisionControlEdge.html#abdf3cc3f37064e47096fbda4c190fcd3">isVisible</a>())</div><div class="line"><a name="l01577"></a><span class="lineno"> 1577</span>&#160;            <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#ab25a7a80800de3a4c1eac65397ce25e0">getControlEdge</a>(i)-&gt;<a class="code" href="classShipCAD_1_1SubdivisionControlEdge.html#ae247e08eec97952d1835df03c8269829">setSelected</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01578"></a><span class="lineno"> 1578</span>&#160;    }</div><div class="line"><a name="l01579"></a><span class="lineno"> 1579</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=0; i&lt;<a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a994923f432129431b30d6b532059a6ab">numberOfControlPoints</a>(); i++) {</div><div class="line"><a name="l01580"></a><span class="lineno"> 1580</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a534abfeaab8e30436c7ba4f14048472a">getControlPoint</a>(i)-&gt;<a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html#a804539ab78cc9b56d7a65110bc2db294">isVisible</a>())</div><div class="line"><a name="l01581"></a><span class="lineno"> 1581</span>&#160;            <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a534abfeaab8e30436c7ba4f14048472a">getControlPoint</a>(i)-&gt;<a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html#a5642f57c7f17e78c27ad6edb0fdb7f65">setSelected</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01582"></a><span class="lineno"> 1582</span>&#160;    }</div><div class="line"><a name="l01583"></a><span class="lineno"> 1583</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=0; i&lt;<a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#ade9cac86770927d571fa8015093b21a0">numberOfControlCurves</a>(); i++) {</div><div class="line"><a name="l01584"></a><span class="lineno"> 1584</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a24cef63888acec403e1d938ea96b6406">getControlCurve</a>(i)-&gt;<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#a5ed850eb8b536f4f534adca1c9a3aca0">isVisible</a>())</div><div class="line"><a name="l01585"></a><span class="lineno"> 1585</span>&#160;            <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a24cef63888acec403e1d938ea96b6406">getControlCurve</a>(i)-&gt;<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#abaf7f7cfec21eedacf55b1654f3e7f2f">setSelected</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01586"></a><span class="lineno"> 1586</span>&#160;    }</div><div class="line"><a name="l01587"></a><span class="lineno"> 1587</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=0; i&lt;<a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a6feda4dd07262d1f137f8f8a677bd23d">numberOfMarkers</a>(); i++) {</div><div class="line"><a name="l01588"></a><span class="lineno"> 1588</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#abc5faaa00b4b34bc1b0b1cd52af4ab3b">getMarkers</a>().<a class="code" href="classPointerVector.html#af28c2517157ddacfb4d92a4fc73c5a92">get</a>(i)-&gt;<a class="code" href="classShipCAD_1_1Marker.html#a505a790bb39356858ecf59513a76ec95">isVisible</a>())</div><div class="line"><a name="l01589"></a><span class="lineno"> 1589</span>&#160;            <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#abc5faaa00b4b34bc1b0b1cd52af4ab3b">getMarkers</a>().<a class="code" href="classPointerVector.html#af28c2517157ddacfb4d92a4fc73c5a92">get</a>(i)-&gt;<a class="code" href="classShipCAD_1_1Marker.html#ad3bbb4a01e11e3d2885f56599a77a3d1">setSelected</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01590"></a><span class="lineno"> 1590</span>&#160;    }</div><div class="line"><a name="l01591"></a><span class="lineno"> 1591</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=0; i&lt;<a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a7bb6418bfa20645211e6bdbf8c6ef951">numberOfFlowlines</a>(); i++) {</div><div class="line"><a name="l01592"></a><span class="lineno"> 1592</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#afc5654f671a17dd6672230648842975e">getFlowline</a>(i)-&gt;<a class="code" href="classShipCAD_1_1Flowline.html#a86839bd40eccaef22050ba6f15aec361">isVisible</a>())</div><div class="line"><a name="l01593"></a><span class="lineno"> 1593</span>&#160;            <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#afc5654f671a17dd6672230648842975e">getFlowline</a>(i)-&gt;<a class="code" href="classShipCAD_1_1Flowline.html#a4ade2663ee4102e0eff8920eeeaf8b37">setSelected</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01594"></a><span class="lineno"> 1594</span>&#160;    }</div><div class="line"><a name="l01595"></a><span class="lineno"> 1595</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01596"></a><span class="lineno"> 1596</span>&#160;}</div><div class="line"><a name="l01597"></a><span class="lineno"> 1597</span>&#160;</div><div class="line"><a name="l01598"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a52b8812ceca0b4368dea2e2b4399d860"> 1598</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a52b8812ceca0b4368dea2e2b4399d860">Controller::undo</a>()</div><div class="line"><a name="l01599"></a><span class="lineno"> 1599</span>&#160;{</div><div class="line"><a name="l01600"></a><span class="lineno"> 1600</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::undo&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01601"></a><span class="lineno"> 1601</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a31cd6dcb665c21c1626599d57ae73684">undo</a>();</div><div class="line"><a name="l01602"></a><span class="lineno"> 1602</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01603"></a><span class="lineno"> 1603</span>&#160;}</div><div class="line"><a name="l01604"></a><span class="lineno"> 1604</span>&#160;</div><div class="line"><a name="l01605"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#aeb55fe16b48f14b00c179e95a0372a17"> 1605</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#aeb55fe16b48f14b00c179e95a0372a17">Controller::redo</a>()</div><div class="line"><a name="l01606"></a><span class="lineno"> 1606</span>&#160;{</div><div class="line"><a name="l01607"></a><span class="lineno"> 1607</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::redo&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01608"></a><span class="lineno"> 1608</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ac7f369ecf1a53a751f8774263d3ecd95">redo</a>();</div><div class="line"><a name="l01609"></a><span class="lineno"> 1609</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01610"></a><span class="lineno"> 1610</span>&#160;}</div><div class="line"><a name="l01611"></a><span class="lineno"> 1611</span>&#160;</div><div class="line"><a name="l01612"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#ad9c16d37e77b98b2f289839d4f337325"> 1612</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#ad9c16d37e77b98b2f289839d4f337325">Controller::clearUndo</a>()</div><div class="line"><a name="l01613"></a><span class="lineno"> 1613</span>&#160;{</div><div class="line"><a name="l01614"></a><span class="lineno"> 1614</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::clearUndo&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01615"></a><span class="lineno"> 1615</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ac8a3a46ed5864f651495bd450d11ef2a">clearUndo</a>();</div><div class="line"><a name="l01616"></a><span class="lineno"> 1616</span>&#160;}</div><div class="line"><a name="l01617"></a><span class="lineno"> 1617</span>&#160;</div><div class="line"><a name="l01618"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a32103fdef0de00b63eba1ef4282c5598"> 1618</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a32103fdef0de00b63eba1ef4282c5598">Controller::showHistoryUndo</a>()</div><div class="line"><a name="l01619"></a><span class="lineno"> 1619</span>&#160;{</div><div class="line"><a name="l01620"></a><span class="lineno"> 1620</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l01621"></a><span class="lineno"> 1621</span>&#160;}</div><div class="line"><a name="l01622"></a><span class="lineno"> 1622</span>&#160;</div><div class="line"><a name="l01623"></a><span class="lineno"> 1623</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l01624"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a81d04dc566ba580aa225c5369767220f"> 1624</a></span>&#160;<a class="code" href="classShipCAD_1_1Controller.html#a81d04dc566ba580aa225c5369767220f">Controller::showControlNet</a>(<span class="keywordtype">bool</span> val)</div><div class="line"><a name="l01625"></a><span class="lineno"> 1625</span>&#160;{</div><div class="line"><a name="l01626"></a><span class="lineno"> 1626</span>&#160;    <a class="code" href="classShipCAD_1_1Visibility.html">Visibility</a>&amp; vis = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a50cca4c783baeba58c8068c9b8a5d6a4">getVisibility</a>();</div><div class="line"><a name="l01627"></a><span class="lineno"> 1627</span>&#160;    <span class="keywordflow">if</span> (vis.<a class="code" href="classShipCAD_1_1Visibility.html#a177cc880657723c1cbcc4c66c16ee208">isShowControlNet</a>() != val) {</div><div class="line"><a name="l01628"></a><span class="lineno"> 1628</span>&#160;        vis.<a class="code" href="classShipCAD_1_1Visibility.html#a7498435ee6955772713b113a63279260">setShowControlNet</a>(val);</div><div class="line"><a name="l01629"></a><span class="lineno"> 1629</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01630"></a><span class="lineno"> 1630</span>&#160;        cout &lt;&lt; <span class="stringliteral">&quot;surface control net visible: &quot;</span> &lt;&lt; (val ? <span class="charliteral">&#39;y&#39;</span> : <span class="charliteral">&#39;n&#39;</span>) &lt;&lt; endl;</div><div class="line"><a name="l01631"></a><span class="lineno"> 1631</span>&#160;    }</div><div class="line"><a name="l01632"></a><span class="lineno"> 1632</span>&#160;}</div><div class="line"><a name="l01633"></a><span class="lineno"> 1633</span>&#160;</div><div class="line"><a name="l01634"></a><span class="lineno"> 1634</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l01635"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a3f722582d47e27a34deb467156056f3b"> 1635</a></span>&#160;<a class="code" href="classShipCAD_1_1Controller.html#a3f722582d47e27a34deb467156056f3b">Controller::showInteriorEdges</a>(<span class="keywordtype">bool</span> val)</div><div class="line"><a name="l01636"></a><span class="lineno"> 1636</span>&#160;{</div><div class="line"><a name="l01637"></a><span class="lineno"> 1637</span>&#160;    <a class="code" href="classShipCAD_1_1Visibility.html">Visibility</a>&amp; vis = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a50cca4c783baeba58c8068c9b8a5d6a4">getVisibility</a>();</div><div class="line"><a name="l01638"></a><span class="lineno"> 1638</span>&#160;    <span class="keywordflow">if</span> (vis.<a class="code" href="classShipCAD_1_1Visibility.html#a63588a3b8aa0a7dd37b19173a4802b47">isShowInteriorEdges</a>() != val) {</div><div class="line"><a name="l01639"></a><span class="lineno"> 1639</span>&#160;        vis.<a class="code" href="classShipCAD_1_1Visibility.html#a2ce6cd0c56750e6638b5e195e6bc5590">setShowInteriorEdges</a>(val);</div><div class="line"><a name="l01640"></a><span class="lineno"> 1640</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01641"></a><span class="lineno"> 1641</span>&#160;        cout &lt;&lt; <span class="stringliteral">&quot;surface interior edges visible: &quot;</span> &lt;&lt; (val ? <span class="charliteral">&#39;y&#39;</span> : <span class="charliteral">&#39;n&#39;</span>) &lt;&lt; endl;</div><div class="line"><a name="l01642"></a><span class="lineno"> 1642</span>&#160;    }</div><div class="line"><a name="l01643"></a><span class="lineno"> 1643</span>&#160;}</div><div class="line"><a name="l01644"></a><span class="lineno"> 1644</span>&#160;</div><div class="line"><a name="l01645"></a><span class="lineno"> 1645</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l01646"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#ace6b3dde2f577bb95873ece93bcc9a5a"> 1646</a></span>&#160;<a class="code" href="classShipCAD_1_1Controller.html#ace6b3dde2f577bb95873ece93bcc9a5a">Controller::showGrid</a>(<span class="keywordtype">bool</span> val)</div><div class="line"><a name="l01647"></a><span class="lineno"> 1647</span>&#160;{</div><div class="line"><a name="l01648"></a><span class="lineno"> 1648</span>&#160;    <a class="code" href="classShipCAD_1_1Visibility.html">Visibility</a>&amp; vis = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a50cca4c783baeba58c8068c9b8a5d6a4">getVisibility</a>();</div><div class="line"><a name="l01649"></a><span class="lineno"> 1649</span>&#160;    <span class="keywordflow">if</span> (vis.<a class="code" href="classShipCAD_1_1Visibility.html#a9aa81550e01813b9ec84b40aba5f904e">isShowGrid</a>() != val) {</div><div class="line"><a name="l01650"></a><span class="lineno"> 1650</span>&#160;        vis.<a class="code" href="classShipCAD_1_1Visibility.html#a57b601879f10927beb3d466c211e6ee6">setShowGrid</a>(val);</div><div class="line"><a name="l01651"></a><span class="lineno"> 1651</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01652"></a><span class="lineno"> 1652</span>&#160;        cout &lt;&lt; <span class="stringliteral">&quot;grid visible: &quot;</span> &lt;&lt; (val ? <span class="charliteral">&#39;y&#39;</span> : <span class="charliteral">&#39;n&#39;</span>) &lt;&lt; endl;</div><div class="line"><a name="l01653"></a><span class="lineno"> 1653</span>&#160;    }</div><div class="line"><a name="l01654"></a><span class="lineno"> 1654</span>&#160;}</div><div class="line"><a name="l01655"></a><span class="lineno"> 1655</span>&#160;</div><div class="line"><a name="l01656"></a><span class="lineno"> 1656</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l01657"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a2c3339b26ab0856a66720e370523d80c"> 1657</a></span>&#160;<a class="code" href="classShipCAD_1_1Controller.html#a2c3339b26ab0856a66720e370523d80c">Controller::showControlCurves</a>(<span class="keywordtype">bool</span> val)</div><div class="line"><a name="l01658"></a><span class="lineno"> 1658</span>&#160;{</div><div class="line"><a name="l01659"></a><span class="lineno"> 1659</span>&#160;    <a class="code" href="classShipCAD_1_1Visibility.html">Visibility</a>&amp; vis = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a50cca4c783baeba58c8068c9b8a5d6a4">getVisibility</a>();</div><div class="line"><a name="l01660"></a><span class="lineno"> 1660</span>&#160;    <span class="keywordflow">if</span> (vis.<a class="code" href="classShipCAD_1_1Visibility.html#adf96eb2133086a34056f6c0f75556f13">isShowControlCurves</a>() != val) {</div><div class="line"><a name="l01661"></a><span class="lineno"> 1661</span>&#160;        vis.<a class="code" href="classShipCAD_1_1Visibility.html#a760ef76f6db721925ee95cefaae966de">setShowControlCurves</a>(val);</div><div class="line"><a name="l01662"></a><span class="lineno"> 1662</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01663"></a><span class="lineno"> 1663</span>&#160;        cout &lt;&lt; <span class="stringliteral">&quot;surface control curves visible: &quot;</span> &lt;&lt; (val ? <span class="charliteral">&#39;y&#39;</span> : <span class="charliteral">&#39;n&#39;</span>) &lt;&lt; endl;</div><div class="line"><a name="l01664"></a><span class="lineno"> 1664</span>&#160;    }</div><div class="line"><a name="l01665"></a><span class="lineno"> 1665</span>&#160;}</div><div class="line"><a name="l01666"></a><span class="lineno"> 1666</span>&#160;</div><div class="line"><a name="l01667"></a><span class="lineno"> 1667</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l01668"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a9ba96a9070361816f926d8b0d2becd38"> 1668</a></span>&#160;<a class="code" href="classShipCAD_1_1Controller.html#a9ba96a9070361816f926d8b0d2becd38">Controller::showCurvature</a>(<span class="keywordtype">bool</span> val)</div><div class="line"><a name="l01669"></a><span class="lineno"> 1669</span>&#160;{</div><div class="line"><a name="l01670"></a><span class="lineno"> 1670</span>&#160;    <a class="code" href="classShipCAD_1_1Visibility.html">Visibility</a>&amp; vis = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a50cca4c783baeba58c8068c9b8a5d6a4">getVisibility</a>();</div><div class="line"><a name="l01671"></a><span class="lineno"> 1671</span>&#160;    <span class="keywordflow">if</span> (vis.<a class="code" href="classShipCAD_1_1Visibility.html#a36f2e03d75a5a2cfcfc3c637c08bee92">isShowCurvature</a>() != val) {</div><div class="line"><a name="l01672"></a><span class="lineno"> 1672</span>&#160;        vis.<a class="code" href="classShipCAD_1_1Visibility.html#a72fa3ed8c721fffe65b29c61329a1d35">setShowCurvature</a>(val);</div><div class="line"><a name="l01673"></a><span class="lineno"> 1673</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01674"></a><span class="lineno"> 1674</span>&#160;        cout &lt;&lt; <span class="stringliteral">&quot;surface curvature visible: &quot;</span> &lt;&lt; (val ? <span class="charliteral">&#39;y&#39;</span> : <span class="charliteral">&#39;n&#39;</span>) &lt;&lt; endl;</div><div class="line"><a name="l01675"></a><span class="lineno"> 1675</span>&#160;    }</div><div class="line"><a name="l01676"></a><span class="lineno"> 1676</span>&#160;}</div><div class="line"><a name="l01677"></a><span class="lineno"> 1677</span>&#160;</div><div class="line"><a name="l01678"></a><span class="lineno"> 1678</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l01679"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#adb1d1402849db292b29ec78ba89639d9"> 1679</a></span>&#160;<a class="code" href="classShipCAD_1_1Controller.html#adb1d1402849db292b29ec78ba89639d9">Controller::showNormals</a>(<span class="keywordtype">bool</span> val)</div><div class="line"><a name="l01680"></a><span class="lineno"> 1680</span>&#160;{</div><div class="line"><a name="l01681"></a><span class="lineno"> 1681</span>&#160;    <a class="code" href="classShipCAD_1_1Visibility.html">Visibility</a>&amp; vis = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a50cca4c783baeba58c8068c9b8a5d6a4">getVisibility</a>();</div><div class="line"><a name="l01682"></a><span class="lineno"> 1682</span>&#160;    <span class="keywordflow">if</span> (vis.<a class="code" href="classShipCAD_1_1Visibility.html#a973f63d7828898c1499607a8d87b430d">isShowNormals</a>() != val) {</div><div class="line"><a name="l01683"></a><span class="lineno"> 1683</span>&#160;        vis.<a class="code" href="classShipCAD_1_1Visibility.html#a78971bef725cdc53fa600589d68b628a">setShowNormals</a>(val);</div><div class="line"><a name="l01684"></a><span class="lineno"> 1684</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01685"></a><span class="lineno"> 1685</span>&#160;        cout &lt;&lt; <span class="stringliteral">&quot;surface normals visible: &quot;</span> &lt;&lt; (val ? <span class="charliteral">&#39;y&#39;</span> : <span class="charliteral">&#39;n&#39;</span>) &lt;&lt; endl;</div><div class="line"><a name="l01686"></a><span class="lineno"> 1686</span>&#160;    }</div><div class="line"><a name="l01687"></a><span class="lineno"> 1687</span>&#160;}</div><div class="line"><a name="l01688"></a><span class="lineno"> 1688</span>&#160;</div><div class="line"><a name="l01689"></a><span class="lineno"> 1689</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l01690"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a798c513f6454b27141c93bb7a9681394"> 1690</a></span>&#160;<a class="code" href="classShipCAD_1_1Controller.html#a798c513f6454b27141c93bb7a9681394">Controller::showBothSides</a>(<span class="keywordtype">bool</span> val)</div><div class="line"><a name="l01691"></a><span class="lineno"> 1691</span>&#160;{</div><div class="line"><a name="l01692"></a><span class="lineno"> 1692</span>&#160;    <a class="code" href="classShipCAD_1_1Visibility.html">Visibility</a>&amp; vis = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a50cca4c783baeba58c8068c9b8a5d6a4">getVisibility</a>();</div><div class="line"><a name="l01693"></a><span class="lineno"> 1693</span>&#160;    <span class="keywordflow">if</span> ((vis.<a class="code" href="classShipCAD_1_1Visibility.html#a34d56f9e9467b9749c6b50adfe8a0493">getModelView</a>() == <a class="code" href="namespaceShipCAD.html#a742f9cd95e62e207769e17467ecd5bb7ad45c94ca5dea7f967d58f9864f49c465">mvBoth</a> &amp;&amp; !val) || (vis.<a class="code" href="classShipCAD_1_1Visibility.html#a34d56f9e9467b9749c6b50adfe8a0493">getModelView</a>() == <a class="code" href="namespaceShipCAD.html#a742f9cd95e62e207769e17467ecd5bb7a033d1219796735edf6dbe71c266566ad">mvPort</a> &amp;&amp; val)) {</div><div class="line"><a name="l01694"></a><span class="lineno"> 1694</span>&#160;        vis.<a class="code" href="classShipCAD_1_1Visibility.html#a017115fc25ec3a7363033dcca873f38f">setModelView</a>(val ? <a class="code" href="namespaceShipCAD.html#a742f9cd95e62e207769e17467ecd5bb7ad45c94ca5dea7f967d58f9864f49c465">mvBoth</a> : <a class="code" href="namespaceShipCAD.html#a742f9cd95e62e207769e17467ecd5bb7a033d1219796735edf6dbe71c266566ad">mvPort</a>);</div><div class="line"><a name="l01695"></a><span class="lineno"> 1695</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01696"></a><span class="lineno"> 1696</span>&#160;        cout &lt;&lt; <span class="stringliteral">&quot;show both sides: &quot;</span> &lt;&lt; (val ? <span class="charliteral">&#39;y&#39;</span> : <span class="charliteral">&#39;n&#39;</span>) &lt;&lt; endl;</div><div class="line"><a name="l01697"></a><span class="lineno"> 1697</span>&#160;    }</div><div class="line"><a name="l01698"></a><span class="lineno"> 1698</span>&#160;}</div><div class="line"><a name="l01699"></a><span class="lineno"> 1699</span>&#160;</div><div class="line"><a name="l01700"></a><span class="lineno"> 1700</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l01701"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a89d94deb40f340ce439d53c781f72bcf"> 1701</a></span>&#160;<a class="code" href="classShipCAD_1_1Controller.html#a89d94deb40f340ce439d53c781f72bcf">Controller::showMarkers</a>(<span class="keywordtype">bool</span> val)</div><div class="line"><a name="l01702"></a><span class="lineno"> 1702</span>&#160;{</div><div class="line"><a name="l01703"></a><span class="lineno"> 1703</span>&#160;    <a class="code" href="classShipCAD_1_1Visibility.html">Visibility</a>&amp; vis = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a50cca4c783baeba58c8068c9b8a5d6a4">getVisibility</a>();</div><div class="line"><a name="l01704"></a><span class="lineno"> 1704</span>&#160;    <span class="keywordflow">if</span> (vis.<a class="code" href="classShipCAD_1_1Visibility.html#adae35f2eb31f5d468674ab9856a39637">isShowMarkers</a>() != val) {</div><div class="line"><a name="l01705"></a><span class="lineno"> 1705</span>&#160;        vis.<a class="code" href="classShipCAD_1_1Visibility.html#a04cd6f732b4334070aef1f43b457d472">setShowMarkers</a>(val);</div><div class="line"><a name="l01706"></a><span class="lineno"> 1706</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01707"></a><span class="lineno"> 1707</span>&#160;        cout &lt;&lt; <span class="stringliteral">&quot;show markers: &quot;</span> &lt;&lt; (val ? <span class="charliteral">&#39;y&#39;</span> : <span class="charliteral">&#39;n&#39;</span>) &lt;&lt; endl;</div><div class="line"><a name="l01708"></a><span class="lineno"> 1708</span>&#160;    }</div><div class="line"><a name="l01709"></a><span class="lineno"> 1709</span>&#160;}</div><div class="line"><a name="l01710"></a><span class="lineno"> 1710</span>&#160;</div><div class="line"><a name="l01711"></a><span class="lineno"> 1711</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l01712"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#af090412ce033ebbe20c148f3236b8c8e"> 1712</a></span>&#160;<a class="code" href="classShipCAD_1_1Controller.html#af090412ce033ebbe20c148f3236b8c8e">Controller::shadeUnderwater</a>(<span class="keywordtype">bool</span> <span class="comment">/*val*/</span>)</div><div class="line"><a name="l01713"></a><span class="lineno"> 1713</span>&#160;{</div><div class="line"><a name="l01714"></a><span class="lineno"> 1714</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l01715"></a><span class="lineno"> 1715</span>&#160;}</div><div class="line"><a name="l01716"></a><span class="lineno"> 1716</span>&#160;</div><div class="line"><a name="l01717"></a><span class="lineno"> 1717</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l01718"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a429e378ef93bf0ec59c7dac048d4b100"> 1718</a></span>&#160;<a class="code" href="classShipCAD_1_1Controller.html#a429e378ef93bf0ec59c7dac048d4b100">Controller::showStations</a>(<span class="keywordtype">bool</span> val)</div><div class="line"><a name="l01719"></a><span class="lineno"> 1719</span>&#160;{</div><div class="line"><a name="l01720"></a><span class="lineno"> 1720</span>&#160;    <a class="code" href="classShipCAD_1_1Visibility.html">Visibility</a>&amp; vis = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a50cca4c783baeba58c8068c9b8a5d6a4">getVisibility</a>();</div><div class="line"><a name="l01721"></a><span class="lineno"> 1721</span>&#160;    <span class="keywordflow">if</span> (vis.<a class="code" href="classShipCAD_1_1Visibility.html#a02ae626d57305729ff870e14dd7f6e26">isShowStations</a>() != val) {</div><div class="line"><a name="l01722"></a><span class="lineno"> 1722</span>&#160;        vis.<a class="code" href="classShipCAD_1_1Visibility.html#a41a2754fcdbe69609b837fc9be26135e">setShowStations</a>(val);</div><div class="line"><a name="l01723"></a><span class="lineno"> 1723</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01724"></a><span class="lineno"> 1724</span>&#160;        cout &lt;&lt; <span class="stringliteral">&quot;show stations: &quot;</span> &lt;&lt; (val ? <span class="charliteral">&#39;y&#39;</span> : <span class="charliteral">&#39;n&#39;</span>) &lt;&lt; endl;</div><div class="line"><a name="l01725"></a><span class="lineno"> 1725</span>&#160;    }</div><div class="line"><a name="l01726"></a><span class="lineno"> 1726</span>&#160;}</div><div class="line"><a name="l01727"></a><span class="lineno"> 1727</span>&#160;</div><div class="line"><a name="l01728"></a><span class="lineno"> 1728</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l01729"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#abf2b642e176da1fd768eaf7952fc80bf"> 1729</a></span>&#160;<a class="code" href="classShipCAD_1_1Controller.html#abf2b642e176da1fd768eaf7952fc80bf">Controller::showButtocks</a>(<span class="keywordtype">bool</span> val)</div><div class="line"><a name="l01730"></a><span class="lineno"> 1730</span>&#160;{</div><div class="line"><a name="l01731"></a><span class="lineno"> 1731</span>&#160;    <a class="code" href="classShipCAD_1_1Visibility.html">Visibility</a>&amp; vis = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a50cca4c783baeba58c8068c9b8a5d6a4">getVisibility</a>();</div><div class="line"><a name="l01732"></a><span class="lineno"> 1732</span>&#160;    <span class="keywordflow">if</span> (vis.<a class="code" href="classShipCAD_1_1Visibility.html#a293f2a74bb76c65b7fa706e8aac353f1">isShowButtocks</a>() != val) {</div><div class="line"><a name="l01733"></a><span class="lineno"> 1733</span>&#160;        vis.<a class="code" href="classShipCAD_1_1Visibility.html#a8e7776fdc776e8fa96b7e9bce1cffdce">setShowButtocks</a>(val);</div><div class="line"><a name="l01734"></a><span class="lineno"> 1734</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01735"></a><span class="lineno"> 1735</span>&#160;        cout &lt;&lt; <span class="stringliteral">&quot;show buttocks: &quot;</span> &lt;&lt; (val ? <span class="charliteral">&#39;y&#39;</span> : <span class="charliteral">&#39;n&#39;</span>) &lt;&lt; endl;</div><div class="line"><a name="l01736"></a><span class="lineno"> 1736</span>&#160;    }</div><div class="line"><a name="l01737"></a><span class="lineno"> 1737</span>&#160;}</div><div class="line"><a name="l01738"></a><span class="lineno"> 1738</span>&#160;</div><div class="line"><a name="l01739"></a><span class="lineno"> 1739</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l01740"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a634c01cbbf932acc8115357f3967bd9e"> 1740</a></span>&#160;<a class="code" href="classShipCAD_1_1Controller.html#a634c01cbbf932acc8115357f3967bd9e">Controller::showWaterlines</a>(<span class="keywordtype">bool</span> val)</div><div class="line"><a name="l01741"></a><span class="lineno"> 1741</span>&#160;{</div><div class="line"><a name="l01742"></a><span class="lineno"> 1742</span>&#160;    <a class="code" href="classShipCAD_1_1Visibility.html">Visibility</a>&amp; vis = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a50cca4c783baeba58c8068c9b8a5d6a4">getVisibility</a>();</div><div class="line"><a name="l01743"></a><span class="lineno"> 1743</span>&#160;    <span class="keywordflow">if</span> (vis.<a class="code" href="classShipCAD_1_1Visibility.html#a5ada95979a3d66b792b394f7c065b1fd">isShowWaterlines</a>() != val) {</div><div class="line"><a name="l01744"></a><span class="lineno"> 1744</span>&#160;        vis.<a class="code" href="classShipCAD_1_1Visibility.html#ac07b5944afd8a44c569aef09ee893450">setShowWaterlines</a>(val);</div><div class="line"><a name="l01745"></a><span class="lineno"> 1745</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01746"></a><span class="lineno"> 1746</span>&#160;        cout &lt;&lt; <span class="stringliteral">&quot;show waterlines: &quot;</span> &lt;&lt; (val ? <span class="charliteral">&#39;y&#39;</span> : <span class="charliteral">&#39;n&#39;</span>) &lt;&lt; endl;</div><div class="line"><a name="l01747"></a><span class="lineno"> 1747</span>&#160;    }</div><div class="line"><a name="l01748"></a><span class="lineno"> 1748</span>&#160;}</div><div class="line"><a name="l01749"></a><span class="lineno"> 1749</span>&#160;</div><div class="line"><a name="l01750"></a><span class="lineno"> 1750</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l01751"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#aa6729abfadacef4f98c6dbe7d4c1a7e6"> 1751</a></span>&#160;<a class="code" href="classShipCAD_1_1Controller.html#aa6729abfadacef4f98c6dbe7d4c1a7e6">Controller::showDiagonals</a>(<span class="keywordtype">bool</span> val)</div><div class="line"><a name="l01752"></a><span class="lineno"> 1752</span>&#160;{</div><div class="line"><a name="l01753"></a><span class="lineno"> 1753</span>&#160;    <a class="code" href="classShipCAD_1_1Visibility.html">Visibility</a>&amp; vis = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a50cca4c783baeba58c8068c9b8a5d6a4">getVisibility</a>();</div><div class="line"><a name="l01754"></a><span class="lineno"> 1754</span>&#160;    <span class="keywordflow">if</span> (vis.<a class="code" href="classShipCAD_1_1Visibility.html#afa9ae51a7f178d93fe7d6b12ea5a4e63">isShowDiagonals</a>() != val) {</div><div class="line"><a name="l01755"></a><span class="lineno"> 1755</span>&#160;        vis.<a class="code" href="classShipCAD_1_1Visibility.html#a02ff571862dacdbec3248a80ec42eb4f">setShowDiagonals</a>(val);</div><div class="line"><a name="l01756"></a><span class="lineno"> 1756</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01757"></a><span class="lineno"> 1757</span>&#160;        cout &lt;&lt; <span class="stringliteral">&quot;show diagonals: &quot;</span> &lt;&lt; (val ? <span class="charliteral">&#39;y&#39;</span> : <span class="charliteral">&#39;n&#39;</span>) &lt;&lt; endl;</div><div class="line"><a name="l01758"></a><span class="lineno"> 1758</span>&#160;    }</div><div class="line"><a name="l01759"></a><span class="lineno"> 1759</span>&#160;}</div><div class="line"><a name="l01760"></a><span class="lineno"> 1760</span>&#160;</div><div class="line"><a name="l01761"></a><span class="lineno"> 1761</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l01762"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a29d2c68605ec90055ae0aa27761f2b08"> 1762</a></span>&#160;<a class="code" href="classShipCAD_1_1Controller.html#a29d2c68605ec90055ae0aa27761f2b08">Controller::showHydroData</a>(<span class="keywordtype">bool</span> val)</div><div class="line"><a name="l01763"></a><span class="lineno"> 1763</span>&#160;{</div><div class="line"><a name="l01764"></a><span class="lineno"> 1764</span>&#160;    <a class="code" href="classShipCAD_1_1Visibility.html">Visibility</a>&amp; vis = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a50cca4c783baeba58c8068c9b8a5d6a4">getVisibility</a>();</div><div class="line"><a name="l01765"></a><span class="lineno"> 1765</span>&#160;    <span class="keywordflow">if</span> (vis.<a class="code" href="classShipCAD_1_1Visibility.html#a7f3f2b2f3dd7ddb554464969562c76ec">isShowHydrostaticData</a>() != val) {</div><div class="line"><a name="l01766"></a><span class="lineno"> 1766</span>&#160;        vis.<a class="code" href="classShipCAD_1_1Visibility.html#a67c7c1987fcd221ab15b2353bdb22d49">setShowHydrostaticData</a>(val);</div><div class="line"><a name="l01767"></a><span class="lineno"> 1767</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01768"></a><span class="lineno"> 1768</span>&#160;        cout &lt;&lt; <span class="stringliteral">&quot;show hydro features: &quot;</span> &lt;&lt; (val ? <span class="charliteral">&#39;y&#39;</span> : <span class="charliteral">&#39;n&#39;</span>) &lt;&lt; endl;</div><div class="line"><a name="l01769"></a><span class="lineno"> 1769</span>&#160;    }</div><div class="line"><a name="l01770"></a><span class="lineno"> 1770</span>&#160;}</div><div class="line"><a name="l01771"></a><span class="lineno"> 1771</span>&#160;</div><div class="line"><a name="l01772"></a><span class="lineno"> 1772</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l01773"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a74187705f2260e641293b2f369757f98"> 1773</a></span>&#160;<a class="code" href="classShipCAD_1_1Controller.html#a74187705f2260e641293b2f369757f98">Controller::showFlowlines</a>(<span class="keywordtype">bool</span> val)</div><div class="line"><a name="l01774"></a><span class="lineno"> 1774</span>&#160;{</div><div class="line"><a name="l01775"></a><span class="lineno"> 1775</span>&#160;    <a class="code" href="classShipCAD_1_1Visibility.html">Visibility</a>&amp; vis = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a50cca4c783baeba58c8068c9b8a5d6a4">getVisibility</a>();</div><div class="line"><a name="l01776"></a><span class="lineno"> 1776</span>&#160;    <span class="keywordflow">if</span> (vis.<a class="code" href="classShipCAD_1_1Visibility.html#a39e12b36d20e2e3ad750e18c248a04f5">isShowFlowlines</a>() != val) {</div><div class="line"><a name="l01777"></a><span class="lineno"> 1777</span>&#160;        vis.<a class="code" href="classShipCAD_1_1Visibility.html#a805b3f5f4a8d7c6b578a79c2539cf192">setShowFlowlines</a>(val);</div><div class="line"><a name="l01778"></a><span class="lineno"> 1778</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01779"></a><span class="lineno"> 1779</span>&#160;        cout &lt;&lt; <span class="stringliteral">&quot;show flowlines: &quot;</span> &lt;&lt; (val ? <span class="charliteral">&#39;y&#39;</span> : <span class="charliteral">&#39;n&#39;</span>) &lt;&lt; endl;</div><div class="line"><a name="l01780"></a><span class="lineno"> 1780</span>&#160;    }</div><div class="line"><a name="l01781"></a><span class="lineno"> 1781</span>&#160;}</div><div class="line"><a name="l01782"></a><span class="lineno"> 1782</span>&#160;</div><div class="line"><a name="l01783"></a><span class="lineno"> 1783</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l01784"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a013b57fb59e7326e944100073d7da410"> 1784</a></span>&#160;<a class="code" href="classShipCAD_1_1Controller.html#a013b57fb59e7326e944100073d7da410">Controller::setPrecision</a>(<a class="code" href="namespaceShipCAD.html#ae13c7e36dfb1e2300741a631041cd915">precision_t</a> prec)</div><div class="line"><a name="l01785"></a><span class="lineno"> 1785</span>&#160;{</div><div class="line"><a name="l01786"></a><span class="lineno"> 1786</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::setPrecision&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01787"></a><span class="lineno"> 1787</span>&#160;    <span class="keywordflow">if</span> (prec != <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;getPrecision()) {</div><div class="line"><a name="l01788"></a><span class="lineno"> 1788</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a6133fe12cd13b6ce24424e19a8b1e433">setPrecision</a>(prec);</div><div class="line"><a name="l01789"></a><span class="lineno"> 1789</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01790"></a><span class="lineno"> 1790</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01791"></a><span class="lineno"> 1791</span>&#160;    }</div><div class="line"><a name="l01792"></a><span class="lineno"> 1792</span>&#160;}</div><div class="line"><a name="l01793"></a><span class="lineno"> 1793</span>&#160;</div><div class="line"><a name="l01794"></a><span class="lineno"> 1794</span>&#160;<span class="comment">// Main.pas:925</span></div><div class="line"><a name="l01795"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a385d6d0d743bd8b66fb29bf210f24e6f"> 1795</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a385d6d0d743bd8b66fb29bf210f24e6f">Controller::setActiveLayer</a>(<span class="keywordtype">int</span> layernum)</div><div class="line"><a name="l01796"></a><span class="lineno"> 1796</span>&#160;{</div><div class="line"><a name="l01797"></a><span class="lineno"> 1797</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::setActiveLayer&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01798"></a><span class="lineno"> 1798</span>&#160;    <span class="keywordtype">size_t</span> idx = <a class="code" href="namespaceShipCAD.html#a26237f4689cbf7e356c7c1ce3f9c69ff">to_size_t</a>(layernum);</div><div class="line"><a name="l01799"></a><span class="lineno"> 1799</span>&#160;    <span class="keywordflow">if</span> (idx &gt; <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;numberOfLayers())</div><div class="line"><a name="l01800"></a><span class="lineno"> 1800</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l01801"></a><span class="lineno"> 1801</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionLayer.html">SubdivisionLayer</a>* layer = <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a24b230e51a0c5fb3e7f51d0e2340eb9f">getLayer</a>(idx);</div><div class="line"><a name="l01802"></a><span class="lineno"> 1802</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;numberOfSelectedControlFaces() == 0</div><div class="line"><a name="l01803"></a><span class="lineno"> 1803</span>&#160;            &amp;&amp; layer != <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;getActiveLayer()) {</div><div class="line"><a name="l01804"></a><span class="lineno"> 1804</span>&#160;        <span class="comment">// change the active layer</span></div><div class="line"><a name="l01805"></a><span class="lineno"> 1805</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a69bafa71111e562a52a089be99b47871">setActiveLayer</a>(layer);</div><div class="line"><a name="l01806"></a><span class="lineno"> 1806</span>&#160;        cout &lt;&lt; <span class="stringliteral">&quot;active layer:&quot;</span> &lt;&lt; layer-&gt;<a class="code" href="classShipCAD_1_1SubdivisionLayer.html#a22eacfdf763840d534d45b18b789f8c7">getName</a>().toStdString() &lt;&lt; endl;</div><div class="line"><a name="l01807"></a><span class="lineno"> 1807</span>&#160;    } <span class="keywordflow">else</span> <span class="keywordflow">if</span>(<a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;numberOfSelectedControlFaces() &gt; 0) {</div><div class="line"><a name="l01808"></a><span class="lineno"> 1808</span>&#160;        <span class="comment">// assign all selected controlfaces to the new layer</span></div><div class="line"><a name="l01809"></a><span class="lineno"> 1809</span>&#160;        set&lt;SubdivisionControlFace*&gt;::iterator i =</div><div class="line"><a name="l01810"></a><span class="lineno"> 1810</span>&#160;            <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a5c58ee81d873069b4c347f6d35d8a88a">getSelControlFaceCollection</a>().begin();</div><div class="line"><a name="l01811"></a><span class="lineno"> 1811</span>&#160;        <span class="keywordflow">for</span> (; i!=<a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a5c58ee81d873069b4c347f6d35d8a88a">getSelControlFaceCollection</a>().end(); ++i)</div><div class="line"><a name="l01812"></a><span class="lineno"> 1812</span>&#160;            (*i)-&gt;setLayer(layer);</div><div class="line"><a name="l01813"></a><span class="lineno"> 1813</span>&#160;        cout &lt;&lt; <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a71eed6b40f7bdf66144b4e8320f99b37">numberOfSelectedControlFaces</a>()</div><div class="line"><a name="l01814"></a><span class="lineno"> 1814</span>&#160;             &lt;&lt; <span class="stringliteral">&quot; faces changed to layer:&quot;</span></div><div class="line"><a name="l01815"></a><span class="lineno"> 1815</span>&#160;             &lt;&lt; layer-&gt;<a class="code" href="classShipCAD_1_1SubdivisionLayer.html#a22eacfdf763840d534d45b18b789f8c7">getName</a>().toStdString() &lt;&lt; endl;</div><div class="line"><a name="l01816"></a><span class="lineno"> 1816</span>&#160;    } <span class="keywordflow">else</span></div><div class="line"><a name="l01817"></a><span class="lineno"> 1817</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l01818"></a><span class="lineno"> 1818</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01819"></a><span class="lineno"> 1819</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01820"></a><span class="lineno"> 1820</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#aea2802b3826e7b6f7d5eae78db07f7e0">changeActiveLayer</a>();</div><div class="line"><a name="l01821"></a><span class="lineno"> 1821</span>&#160;}</div><div class="line"><a name="l01822"></a><span class="lineno"> 1822</span>&#160;</div><div class="line"><a name="l01823"></a><span class="lineno"> 1823</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l01824"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a8d257c1c04ae4e6780e91ad53ba767d8"> 1824</a></span>&#160;<a class="code" href="classShipCAD_1_1Controller.html#a8d257c1c04ae4e6780e91ad53ba767d8">Controller::addCylinder</a>()</div><div class="line"><a name="l01825"></a><span class="lineno"> 1825</span>&#160;{</div><div class="line"><a name="l01826"></a><span class="lineno"> 1826</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l01827"></a><span class="lineno"> 1827</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;add cylinder&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01828"></a><span class="lineno"> 1828</span>&#160;}</div><div class="line"><a name="l01829"></a><span class="lineno"> 1829</span>&#160;</div><div class="line"><a name="l01830"></a><span class="lineno"> 1830</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l01831"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#acaba200143a2ae5e7ea8d423633bcdf5"> 1831</a></span>&#160;<a class="code" href="classShipCAD_1_1Controller.html#acaba200143a2ae5e7ea8d423633bcdf5">Controller::keelAndRudderWizard</a>()</div><div class="line"><a name="l01832"></a><span class="lineno"> 1832</span>&#160;{</div><div class="line"><a name="l01833"></a><span class="lineno"> 1833</span>&#160;    <span class="comment">// TODO</span></div><div class="line"><a name="l01834"></a><span class="lineno"> 1834</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;keel and rudder wizard&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01835"></a><span class="lineno"> 1835</span>&#160;}</div><div class="line"><a name="l01836"></a><span class="lineno"> 1836</span>&#160;</div><div class="line"><a name="l01837"></a><span class="lineno"> 1837</span>&#160;<span class="comment">// Main.pas:952</span></div><div class="line"><a name="l01838"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#aa471985ce00a517249c2b476db9d4ac6"> 1838</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#aa471985ce00a517249c2b476db9d4ac6">Controller::setActiveLayerColor</a>()</div><div class="line"><a name="l01839"></a><span class="lineno"> 1839</span>&#160;{</div><div class="line"><a name="l01840"></a><span class="lineno"> 1840</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::setActiveLayerColor&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01841"></a><span class="lineno"> 1841</span>&#160;    <a class="code" href="structShipCAD_1_1ChooseColorDialogData.html">ChooseColorDialogData</a> data(tr(<span class="stringliteral">&quot;Choose color for Layer&quot;</span>),</div><div class="line"><a name="l01842"></a><span class="lineno"> 1842</span>&#160;                               <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;getActiveLayer()-&gt;getColor());</div><div class="line"><a name="l01843"></a><span class="lineno"> 1843</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#a56cdb705108804e8c8b723c343316280">exeChooseColorDialog</a>(data);</div><div class="line"><a name="l01844"></a><span class="lineno"> 1844</span>&#160;    <span class="keywordflow">if</span> (data.<a class="code" href="structShipCAD_1_1ChooseColorDialogData.html#a5b600a941ccefec026e59e7d65caff63">accepted</a>) {</div><div class="line"><a name="l01845"></a><span class="lineno"> 1845</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;change active layer color&quot;</span>), <span class="keyword">true</span>);</div><div class="line"><a name="l01846"></a><span class="lineno"> 1846</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a5f2fbd88c0652692848f71945c6e34b8">getActiveLayer</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionLayer.html#a5494031433242c810e6e307bfef33e6d">setColor</a>(data.<a class="code" href="structShipCAD_1_1ChooseColorDialogData.html#afa2fd53ceaab239e68818cb93463e247">chosen</a>);</div><div class="line"><a name="l01847"></a><span class="lineno"> 1847</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ab221977f2a8bd4d51d6ee777be0d7b8a">setBuild</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l01848"></a><span class="lineno"> 1848</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01849"></a><span class="lineno"> 1849</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01850"></a><span class="lineno"> 1850</span>&#160;    }</div><div class="line"><a name="l01851"></a><span class="lineno"> 1851</span>&#160;}</div><div class="line"><a name="l01852"></a><span class="lineno"> 1852</span>&#160;</div><div class="line"><a name="l01853"></a><span class="lineno"> 1853</span>&#160;<span class="comment">// Main.pas:952</span></div><div class="line"><a name="l01854"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a53841f9ea28ab735c07d92dc05add50f"> 1854</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#aa471985ce00a517249c2b476db9d4ac6">Controller::setActiveLayerColor</a>(<span class="keyword">const</span> QColor&amp; color)</div><div class="line"><a name="l01855"></a><span class="lineno"> 1855</span>&#160;{</div><div class="line"><a name="l01856"></a><span class="lineno"> 1856</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::setActiveLayerColor with color&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01857"></a><span class="lineno"> 1857</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a5f2fbd88c0652692848f71945c6e34b8">getActiveLayer</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionLayer.html#a5494031433242c810e6e307bfef33e6d">setColor</a>(color);</div><div class="line"><a name="l01858"></a><span class="lineno"> 1858</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ab221977f2a8bd4d51d6ee777be0d7b8a">setBuild</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l01859"></a><span class="lineno"> 1859</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01860"></a><span class="lineno"> 1860</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01861"></a><span class="lineno"> 1861</span>&#160;}</div><div class="line"><a name="l01862"></a><span class="lineno"> 1862</span>&#160;</div><div class="line"><a name="l01863"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#aa401aa8ce5117101d34501743af9496f"> 1863</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#aa401aa8ce5117101d34501743af9496f">Controller::editPreferences</a>()</div><div class="line"><a name="l01864"></a><span class="lineno"> 1864</span>&#160;{</div><div class="line"><a name="l01865"></a><span class="lineno"> 1865</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::editPrefererences&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01866"></a><span class="lineno"> 1866</span>&#160;    <a class="code" href="structShipCAD_1_1PreferencesDialogData.html">PreferencesDialogData</a> data(<a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;getPreferences());</div><div class="line"><a name="l01867"></a><span class="lineno"> 1867</span>&#160;    <a class="code" href="classShipCAD_1_1UndoObject.html">UndoObject</a>* uo = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;edit preferences&quot;</span>), <span class="keyword">false</span>);</div><div class="line"><a name="l01868"></a><span class="lineno"> 1868</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#a4ad96e74ba77d8aa97f650277d06f00c">exePreferencesDialog</a>(&amp;data);</div><div class="line"><a name="l01869"></a><span class="lineno"> 1869</span>&#160;    <span class="keywordflow">if</span> (data.<a class="code" href="structShipCAD_1_1PreferencesDialogData.html#a273da4c8a491252b81a8135888fd09b7">accepted</a>) {</div><div class="line"><a name="l01870"></a><span class="lineno"> 1870</span>&#160;        uo-&gt;<a class="code" href="classShipCAD_1_1UndoObject.html#a93bad349f284a0ff1cece56aa931f9e3">accept</a>();</div><div class="line"><a name="l01871"></a><span class="lineno"> 1871</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#aa6af8872deba5b401ac575a85901a265">getPreferences</a>().<a class="code" href="classShipCAD_1_1Preferences.html#aab29ea10ab3248d163dbc97e2c6b4585">saveSettings</a>();</div><div class="line"><a name="l01872"></a><span class="lineno"> 1872</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a1b27573aab3a458f9002a7e4e327736a">rebuildModel</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01873"></a><span class="lineno"> 1873</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01874"></a><span class="lineno"> 1874</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01875"></a><span class="lineno"> 1875</span>&#160;    } <span class="keywordflow">else</span> {</div><div class="line"><a name="l01876"></a><span class="lineno"> 1876</span>&#160;        <span class="keyword">delete</span> uo;</div><div class="line"><a name="l01877"></a><span class="lineno"> 1877</span>&#160;    }</div><div class="line"><a name="l01878"></a><span class="lineno"> 1878</span>&#160;}</div><div class="line"><a name="l01879"></a><span class="lineno"> 1879</span>&#160;</div><div class="line"><a name="l01880"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a1cb2acde5294656b3022d3e2029427e6"> 1880</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a1cb2acde5294656b3022d3e2029427e6">Controller::resetPreferences</a>()</div><div class="line"><a name="l01881"></a><span class="lineno"> 1881</span>&#160;{</div><div class="line"><a name="l01882"></a><span class="lineno"> 1882</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::resetPreferences&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01883"></a><span class="lineno"> 1883</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#aa6af8872deba5b401ac575a85901a265">getPreferences</a>().<a class="code" href="classShipCAD_1_1Preferences.html#ae2139f76ba4038b4e713ca75dcb8157e">clear</a>();</div><div class="line"><a name="l01884"></a><span class="lineno"> 1884</span>&#160;    <a class="code" href="structShipCAD_1_1PreferencesDialogData.html">PreferencesDialogData</a> data(<a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;getPreferences());</div><div class="line"><a name="l01885"></a><span class="lineno"> 1885</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#a1cb2acde5294656b3022d3e2029427e6">resetPreferences</a>(&amp;data);</div><div class="line"><a name="l01886"></a><span class="lineno"> 1886</span>&#160;}</div><div class="line"><a name="l01887"></a><span class="lineno"> 1887</span>&#160;</div><div class="line"><a name="l01888"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a8792a506f5468a07a3ee6e7fc886b5ee"> 1888</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a8792a506f5468a07a3ee6e7fc886b5ee">Controller::editProjectSettings</a>()</div><div class="line"><a name="l01889"></a><span class="lineno"> 1889</span>&#160;{</div><div class="line"><a name="l01890"></a><span class="lineno"> 1890</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;Controller::editProjectSettings&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01891"></a><span class="lineno"> 1891</span>&#160;    <a class="code" href="structShipCAD_1_1ProjectSettingsDialogData.html">ProjectSettingsDialogData</a> data(<a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>());</div><div class="line"><a name="l01892"></a><span class="lineno"> 1892</span>&#160;    <a class="code" href="classShipCAD_1_1UndoObject.html">UndoObject</a>* uo = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;edit project settings&quot;</span>), <span class="keyword">false</span>);</div><div class="line"><a name="l01893"></a><span class="lineno"> 1893</span>&#160;    emit <a class="code" href="classShipCAD_1_1Controller.html#a8b4484c9a2859c37170bd75a90676bb1">exeProjectSettingsDialog</a>(&amp;data);</div><div class="line"><a name="l01894"></a><span class="lineno"> 1894</span>&#160;    <span class="keywordflow">if</span> (data.<a class="code" href="structShipCAD_1_1ProjectSettingsDialogData.html#aff0488765c1046abba0e553540480495">accepted</a>) {</div><div class="line"><a name="l01895"></a><span class="lineno"> 1895</span>&#160;        uo-&gt;<a class="code" href="classShipCAD_1_1UndoObject.html#a93bad349f284a0ff1cece56aa931f9e3">accept</a>();</div><div class="line"><a name="l01896"></a><span class="lineno"> 1896</span>&#160;        <span class="comment">// set the units first as it changes values that will be reset</span></div><div class="line"><a name="l01897"></a><span class="lineno"> 1897</span>&#160;        <span class="comment">// in the copy of settings (such as length, beam, etc)</span></div><div class="line"><a name="l01898"></a><span class="lineno"> 1898</span>&#160;        <span class="keywordflow">if</span> (data.<a class="code" href="structShipCAD_1_1ProjectSettingsDialogData.html#a0c5b5a3e4f840c501ba4e19191050284">units</a> != <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;getProjectSettings().getUnits()) {</div><div class="line"><a name="l01899"></a><span class="lineno"> 1899</span>&#160;            <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a94a8eed8ac8ff4ad8287a0a1113e3271">getProjectSettings</a>().<a class="code" href="classShipCAD_1_1ProjectSettings.html#a4a994158dfec339efba2186d06467ff8">setUnits</a>(data.<a class="code" href="structShipCAD_1_1ProjectSettingsDialogData.html#a0c5b5a3e4f840c501ba4e19191050284">units</a>);</div><div class="line"><a name="l01900"></a><span class="lineno"> 1900</span>&#160;        }</div><div class="line"><a name="l01901"></a><span class="lineno"> 1901</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a94a8eed8ac8ff4ad8287a0a1113e3271">getProjectSettings</a>().<a class="code" href="classShipCAD_1_1ProjectSettings.html#ab9197d79f0b8bd2657d55507a541b154">copy_from_dialog</a>(data.<a class="code" href="structShipCAD_1_1ProjectSettingsDialogData.html#ae6f280accdfe3f4d212a5f1eec023c16">settings</a>);</div><div class="line"><a name="l01902"></a><span class="lineno"> 1902</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a50cca4c783baeba58c8068c9b8a5d6a4">getVisibility</a>().<a class="code" href="classShipCAD_1_1Visibility.html#ab8ebd7e609781f3ded96e355b7e2b869">copy_from_dialog</a>(data.<a class="code" href="structShipCAD_1_1ProjectSettingsDialogData.html#a97f37da0a44aaca11963ab6a3d7da218">visibility</a>);</div><div class="line"><a name="l01903"></a><span class="lineno"> 1903</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a1b27573aab3a458f9002a7e4e327736a">rebuildModel</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01904"></a><span class="lineno"> 1904</span>&#160;        <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01905"></a><span class="lineno"> 1905</span>&#160;        emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01906"></a><span class="lineno"> 1906</span>&#160;    } <span class="keywordflow">else</span> {</div><div class="line"><a name="l01907"></a><span class="lineno"> 1907</span>&#160;        <span class="keyword">delete</span> uo;</div><div class="line"><a name="l01908"></a><span class="lineno"> 1908</span>&#160;    }</div><div class="line"><a name="l01909"></a><span class="lineno"> 1909</span>&#160;}</div><div class="line"><a name="l01910"></a><span class="lineno"> 1910</span>&#160;</div><div class="line"><a name="l01911"></a><span class="lineno"> 1911</span>&#160;<span class="comment">// FreeControlPointForm.pas:320</span></div><div class="line"><a name="l01912"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a5b83cea66e4de67cd7fd11df307b948d"> 1912</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a5b83cea66e4de67cd7fd11df307b948d">Controller::cornerPointSelected</a>(<span class="keywordtype">bool</span> sel)</div><div class="line"><a name="l01913"></a><span class="lineno"> 1913</span>&#160;{</div><div class="line"><a name="l01914"></a><span class="lineno"> 1914</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;corner point selected:&quot;</span> &lt;&lt; (sel ? <span class="charliteral">&#39;y&#39;</span> : <span class="charliteral">&#39;n&#39;</span>) &lt;&lt; endl;</div><div class="line"><a name="l01915"></a><span class="lineno"> 1915</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#afe13cf557e067ae883433aa6f5afaf6a">getActiveControlPoint</a>() != 0) {</div><div class="line"><a name="l01916"></a><span class="lineno"> 1916</span>&#160;        <span class="comment">// msg 0213</span></div><div class="line"><a name="l01917"></a><span class="lineno"> 1917</span>&#160;        <a class="code" href="classShipCAD_1_1UndoObject.html">UndoObject</a>* uo = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;corner&quot;</span>), <span class="keyword">false</span>);</div><div class="line"><a name="l01918"></a><span class="lineno"> 1918</span>&#160;        <a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html">SubdivisionControlPoint</a>* ap = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#afe13cf557e067ae883433aa6f5afaf6a">getActiveControlPoint</a>();</div><div class="line"><a name="l01919"></a><span class="lineno"> 1919</span>&#160;        <span class="comment">// count the number of crease edges connected to this point</span></div><div class="line"><a name="l01920"></a><span class="lineno"> 1920</span>&#160;        <a class="code" href="namespaceShipCAD.html#a03171cc921c53a568b778f5131a60deb">vertex_type_t</a> oldtype = ap-&gt;<a class="code" href="classShipCAD_1_1SubdivisionPoint.html#abc15cbc4faebeb138c1a4a4890a3173b">getVertexType</a>();</div><div class="line"><a name="l01921"></a><span class="lineno"> 1921</span>&#160;        <span class="keywordflow">if</span> (ap-&gt;<a class="code" href="classShipCAD_1_1SubdivisionPoint.html#abc15cbc4faebeb138c1a4a4890a3173b">getVertexType</a>() == <a class="code" href="namespaceShipCAD.html#a03171cc921c53a568b778f5131a60deba8d802131f84b0a9edf8a419eded859d0">svCorner</a>) {</div><div class="line"><a name="l01922"></a><span class="lineno"> 1922</span>&#160;            <span class="keywordtype">size_t</span> n = 0;</div><div class="line"><a name="l01923"></a><span class="lineno"> 1923</span>&#160;            <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=0; i&lt;ap-&gt;<a class="code" href="classShipCAD_1_1SubdivisionPoint.html#af86801ec715b4967fb3facf82f3f34ac">numberOfEdges</a>(); i++) {</div><div class="line"><a name="l01924"></a><span class="lineno"> 1924</span>&#160;                <span class="keywordflow">if</span> (ap-&gt;<a class="code" href="classShipCAD_1_1SubdivisionPoint.html#aa45c5c41ac1f66db924a8a1e2202b5ae">getEdge</a>(i)-&gt;<a class="code" href="classShipCAD_1_1SubdivisionEdge.html#ae649fe7169f64a8e5ede1fbb36a176fa">isCrease</a>())</div><div class="line"><a name="l01925"></a><span class="lineno"> 1925</span>&#160;                    n++;</div><div class="line"><a name="l01926"></a><span class="lineno"> 1926</span>&#160;            }</div><div class="line"><a name="l01927"></a><span class="lineno"> 1927</span>&#160;            <span class="comment">// count the number of incident crease edges</span></div><div class="line"><a name="l01928"></a><span class="lineno"> 1928</span>&#160;            <span class="keywordflow">if</span> (n == 0)</div><div class="line"><a name="l01929"></a><span class="lineno"> 1929</span>&#160;                ap-&gt;<a class="code" href="classShipCAD_1_1SubdivisionPoint.html#a614259dfa2470bbbd7b8cc73039ad501">setVertexType</a>(<a class="code" href="namespaceShipCAD.html#a03171cc921c53a568b778f5131a60deba11889066d8ae7a44f297f45684bb99de">svRegular</a>);</div><div class="line"><a name="l01930"></a><span class="lineno"> 1930</span>&#160;            <span class="keywordflow">else</span> <span class="keywordflow">if</span> (n == 1)</div><div class="line"><a name="l01931"></a><span class="lineno"> 1931</span>&#160;                ap-&gt;<a class="code" href="classShipCAD_1_1SubdivisionPoint.html#a614259dfa2470bbbd7b8cc73039ad501">setVertexType</a>(<a class="code" href="namespaceShipCAD.html#a03171cc921c53a568b778f5131a60debaf17373a62a5f899a61ed17d28e103d24">svDart</a>);</div><div class="line"><a name="l01932"></a><span class="lineno"> 1932</span>&#160;            <span class="keywordflow">else</span> <span class="keywordflow">if</span> (n == 2)</div><div class="line"><a name="l01933"></a><span class="lineno"> 1933</span>&#160;                ap-&gt;<a class="code" href="classShipCAD_1_1SubdivisionPoint.html#a614259dfa2470bbbd7b8cc73039ad501">setVertexType</a>(<a class="code" href="namespaceShipCAD.html#a03171cc921c53a568b778f5131a60deba79fc4e40055439350070993be28ec8ca">svCrease</a>);</div><div class="line"><a name="l01934"></a><span class="lineno"> 1934</span>&#160;        } <span class="keywordflow">else</span></div><div class="line"><a name="l01935"></a><span class="lineno"> 1935</span>&#160;            ap-&gt;<a class="code" href="classShipCAD_1_1SubdivisionPoint.html#a614259dfa2470bbbd7b8cc73039ad501">setVertexType</a>(<a class="code" href="namespaceShipCAD.html#a03171cc921c53a568b778f5131a60deba8d802131f84b0a9edf8a419eded859d0">svCorner</a>);</div><div class="line"><a name="l01936"></a><span class="lineno"> 1936</span>&#160;        <span class="keywordflow">if</span> (ap-&gt;<a class="code" href="classShipCAD_1_1SubdivisionPoint.html#abc15cbc4faebeb138c1a4a4890a3173b">getVertexType</a>() != oldtype) {</div><div class="line"><a name="l01937"></a><span class="lineno"> 1937</span>&#160;            uo-&gt;<a class="code" href="classShipCAD_1_1UndoObject.html#a93bad349f284a0ff1cece56aa931f9e3">accept</a>();</div><div class="line"><a name="l01938"></a><span class="lineno"> 1938</span>&#160;            <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ab221977f2a8bd4d51d6ee777be0d7b8a">setBuild</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l01939"></a><span class="lineno"> 1939</span>&#160;            <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">setFileChanged</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l01940"></a><span class="lineno"> 1940</span>&#160;            emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01941"></a><span class="lineno"> 1941</span>&#160;            emit <a class="code" href="classShipCAD_1_1Controller.html#a35f446710a96c227f1794eacaef7ba6a">updateControlPointValue</a>(ap);</div><div class="line"><a name="l01942"></a><span class="lineno"> 1942</span>&#160;        } <span class="keywordflow">else</span></div><div class="line"><a name="l01943"></a><span class="lineno"> 1943</span>&#160;            <span class="keyword">delete</span> uo;</div><div class="line"><a name="l01944"></a><span class="lineno"> 1944</span>&#160;    }</div><div class="line"><a name="l01945"></a><span class="lineno"> 1945</span>&#160;}</div><div class="line"><a name="l01946"></a><span class="lineno"> 1946</span>&#160;</div><div class="line"><a name="l01947"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a36de0343e95626e62e9683bcfc47a1ee"> 1947</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a36de0343e95626e62e9683bcfc47a1ee">Controller::dialogUpdatedPointCoord</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> z)</div><div class="line"><a name="l01948"></a><span class="lineno"> 1948</span>&#160;{</div><div class="line"><a name="l01949"></a><span class="lineno"> 1949</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;point coord changed: (&quot;</span> &lt;&lt; x &lt;&lt; <span class="stringliteral">&quot;,&quot;</span> &lt;&lt; y &lt;&lt; <span class="stringliteral">&quot;,&quot;</span> &lt;&lt; z &lt;&lt; <span class="stringliteral">&quot;)&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l01950"></a><span class="lineno"> 1950</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;getActiveControlPoint() != 0) {</div><div class="line"><a name="l01951"></a><span class="lineno"> 1951</span>&#160;        <a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html">SubdivisionControlPoint</a>* ap = <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#afe13cf557e067ae883433aa6f5afaf6a">getActiveControlPoint</a>();</div><div class="line"><a name="l01952"></a><span class="lineno"> 1952</span>&#160;        QVector3D newcoord(x, y, z);</div><div class="line"><a name="l01953"></a><span class="lineno"> 1953</span>&#160;        <span class="keywordflow">if</span> (ap-&gt;<a class="code" href="classShipCAD_1_1SubdivisionPoint.html#a285325115089a1b99be4480bf6079bf1">getCoordinate</a>().distanceToPoint(newcoord) &gt; 1e-4) {</div><div class="line"><a name="l01954"></a><span class="lineno"> 1954</span>&#160;            <span class="comment">// msg 0190</span></div><div class="line"><a name="l01955"></a><span class="lineno"> 1955</span>&#160;            <a class="code" href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">getModel</a>()-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">createUndo</a>(tr(<span class="stringliteral">&quot;point move&quot;</span>), <span class="keyword">true</span>);</div><div class="line"><a name="l01956"></a><span class="lineno"> 1956</span>&#160;            ap-&gt;<a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html#a54a5233e02ef34a174c24d5dcf3c6407">setCoordinate</a>(newcoord);</div><div class="line"><a name="l01957"></a><span class="lineno"> 1957</span>&#160;            emit <a class="code" href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">modifiedModel</a>();</div><div class="line"><a name="l01958"></a><span class="lineno"> 1958</span>&#160;        }</div><div class="line"><a name="l01959"></a><span class="lineno"> 1959</span>&#160;    }</div><div class="line"><a name="l01960"></a><span class="lineno"> 1960</span>&#160;}</div><div class="line"><a name="l01961"></a><span class="lineno"> 1961</span>&#160;</div><div class="line"><a name="l01962"></a><span class="lineno"> 1962</span>&#160;<span class="comment">// called when a layer&#39;s faces are selected</span></div><div class="line"><a name="l01963"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#aa3a7f9085a4bce34e7c28c222d61f9dc"> 1963</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#aa3a7f9085a4bce34e7c28c222d61f9dc">Controller::layerFacesSelected</a>(<a class="code" href="classShipCAD_1_1SubdivisionLayer.html">SubdivisionLayer</a>* layer)</div><div class="line"><a name="l01964"></a><span class="lineno"> 1964</span>&#160;{</div><div class="line"><a name="l01965"></a><span class="lineno"> 1965</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a0e417496c41f507d2287ba9183745260">layerFacesSelection</a>(layer, <span class="keyword">true</span>);</div><div class="line"><a name="l01966"></a><span class="lineno"> 1966</span>&#160;}</div><div class="line"><a name="l01967"></a><span class="lineno"> 1967</span>&#160;</div><div class="line"><a name="l01968"></a><span class="lineno"> 1968</span>&#160;<span class="comment">// called when a layer&#39;s faces are de-selected</span></div><div class="line"><a name="l01969"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a7b18227e677079cd9bee6f5b159060b3"> 1969</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a7b18227e677079cd9bee6f5b159060b3">Controller::layerFacesDeselected</a>(<a class="code" href="classShipCAD_1_1SubdivisionLayer.html">SubdivisionLayer</a>* layer)</div><div class="line"><a name="l01970"></a><span class="lineno"> 1970</span>&#160;{</div><div class="line"><a name="l01971"></a><span class="lineno"> 1971</span>&#160;    <a class="code" href="classShipCAD_1_1Controller.html#a0e417496c41f507d2287ba9183745260">layerFacesSelection</a>(layer, <span class="keyword">false</span>);</div><div class="line"><a name="l01972"></a><span class="lineno"> 1972</span>&#160;}</div><div class="line"><a name="l01973"></a><span class="lineno"> 1973</span>&#160;</div><div class="line"><a name="l01974"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a0e417496c41f507d2287ba9183745260"> 1974</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a0e417496c41f507d2287ba9183745260">Controller::layerFacesSelection</a>(<a class="code" href="classShipCAD_1_1SubdivisionLayer.html">SubdivisionLayer</a>* layer, <span class="keywordtype">bool</span> selected)</div><div class="line"><a name="l01975"></a><span class="lineno"> 1975</span>&#160;{</div><div class="line"><a name="l01976"></a><span class="lineno"> 1976</span>&#160;    vector&lt;SubdivisionControlFace*&gt;::const_iterator i = layer-&gt;<a class="code" href="classShipCAD_1_1SubdivisionLayer.html#a202a70b2862a0a1f1367ccba214d21dd">faces_begin</a>();</div><div class="line"><a name="l01977"></a><span class="lineno"> 1977</span>&#160;    <span class="keywordflow">for</span>(; i!=layer-&gt;<a class="code" href="classShipCAD_1_1SubdivisionLayer.html#a5247d4b0cfc3b3c036d1de2b64381dc8">faces_end</a>(); ++i) {</div><div class="line"><a name="l01978"></a><span class="lineno"> 1978</span>&#160;        <span class="keywordflow">if</span> (selected)</div><div class="line"><a name="l01979"></a><span class="lineno"> 1979</span>&#160;            <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#ab21694a435e0c0dd6139de28ae543254">setSelectedControlFace</a>(*i);</div><div class="line"><a name="l01980"></a><span class="lineno"> 1980</span>&#160;        <span class="keywordflow">else</span></div><div class="line"><a name="l01981"></a><span class="lineno"> 1981</span>&#160;            <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#aef09d950b0970bd825a984effeee6224">removeSelectedControlFace</a>(*i);</div><div class="line"><a name="l01982"></a><span class="lineno"> 1982</span>&#160;    }</div><div class="line"><a name="l01983"></a><span class="lineno"> 1983</span>&#160;}</div><div class="line"><a name="l01984"></a><span class="lineno"> 1984</span>&#160;</div><div class="line"><a name="l01985"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Controller.html#a672a7b2ed453cb316568217353dce1da"> 1985</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Controller.html#a672a7b2ed453cb316568217353dce1da">Controller::layerSelectionUpdate</a>(<a class="code" href="structShipCAD_1_1ChooseLayerDialogData.html">ChooseLayerDialogData</a>* data)</div><div class="line"><a name="l01986"></a><span class="lineno"> 1986</span>&#160;{</div><div class="line"><a name="l01987"></a><span class="lineno"> 1987</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=0; i&lt;<a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a994923f432129431b30d6b532059a6ab">numberOfControlPoints</a>(); i++) {</div><div class="line"><a name="l01988"></a><span class="lineno"> 1988</span>&#160;        <a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html">SubdivisionControlPoint</a>* pt = <a class="code" href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">getSurface</a>()-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a534abfeaab8e30436c7ba4f14048472a">getControlPoint</a>(i);</div><div class="line"><a name="l01989"></a><span class="lineno"> 1989</span>&#160;        <span class="keywordtype">bool</span> select = <span class="keyword">false</span>;</div><div class="line"><a name="l01990"></a><span class="lineno"> 1990</span>&#160;        <span class="keywordflow">if</span> (pt-&gt;<a class="code" href="classShipCAD_1_1SubdivisionPoint.html#a474297f7514f867f77ac35e50e9ce6aa">numberOfFaces</a>() &gt; 0) {</div><div class="line"><a name="l01991"></a><span class="lineno"> 1991</span>&#160;            <span class="keywordflow">if</span> (data-&gt;<a class="code" href="structShipCAD_1_1ChooseLayerDialogData.html#a24787e5e75c8a507eb02c5152dcf1209">include_points</a>) {</div><div class="line"><a name="l01992"></a><span class="lineno"> 1992</span>&#160;                <span class="comment">// point must be included in the selection if AT LEAST 1 attached</span></div><div class="line"><a name="l01993"></a><span class="lineno"> 1993</span>&#160;                <span class="comment">// face belongs to a selected layer</span></div><div class="line"><a name="l01994"></a><span class="lineno"> 1994</span>&#160;                <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> j=0; j&lt;pt-&gt;<a class="code" href="classShipCAD_1_1SubdivisionPoint.html#a474297f7514f867f77ac35e50e9ce6aa">numberOfFaces</a>(); j++) {</div><div class="line"><a name="l01995"></a><span class="lineno"> 1995</span>&#160;                    <a class="code" href="classShipCAD_1_1SubdivisionControlFace.html">SubdivisionControlFace</a>* face = <span class="keyword">dynamic_cast&lt;</span><a class="code" href="classShipCAD_1_1SubdivisionControlFace.html">SubdivisionControlFace</a>*<span class="keyword">&gt;</span>(pt-&gt;<a class="code" href="classShipCAD_1_1SubdivisionPoint.html#a348be9715813e54ce5895b551d46c67c">getFace</a>(j));</div><div class="line"><a name="l01996"></a><span class="lineno"> 1996</span>&#160;                    <a class="code" href="classShipCAD_1_1SubdivisionLayer.html">SubdivisionLayer</a>* layer = face-&gt;<a class="code" href="classShipCAD_1_1SubdivisionControlFace.html#a25e4ea676adc327a430b50a81e91ef9d">getLayer</a>();</div><div class="line"><a name="l01997"></a><span class="lineno"> 1997</span>&#160;                    <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> k=0; k&lt;data-&gt;<a class="code" href="structShipCAD_1_1ChooseLayerDialogData.html#abf3c16e3322c1f9b93822204dd2ee825">layers</a>.size(); k++) {</div><div class="line"><a name="l01998"></a><span class="lineno"> 1998</span>&#160;                        <span class="keywordflow">if</span> (data-&gt;<a class="code" href="structShipCAD_1_1ChooseLayerDialogData.html#abf3c16e3322c1f9b93822204dd2ee825">layers</a>[k].first == layer &amp;&amp; data-&gt;<a class="code" href="structShipCAD_1_1ChooseLayerDialogData.html#abf3c16e3322c1f9b93822204dd2ee825">layers</a>[k].second) {</div><div class="line"><a name="l01999"></a><span class="lineno"> 1999</span>&#160;                            select = <span class="keyword">true</span>;</div><div class="line"><a name="l02000"></a><span class="lineno"> 2000</span>&#160;                            <span class="keywordflow">break</span>;</div><div class="line"><a name="l02001"></a><span class="lineno"> 2001</span>&#160;                        }</div><div class="line"><a name="l02002"></a><span class="lineno"> 2002</span>&#160;                    }</div><div class="line"><a name="l02003"></a><span class="lineno"> 2003</span>&#160;                    <span class="keywordflow">if</span> (select)</div><div class="line"><a name="l02004"></a><span class="lineno"> 2004</span>&#160;                        <span class="keywordflow">break</span>;</div><div class="line"><a name="l02005"></a><span class="lineno"> 2005</span>&#160;                }</div><div class="line"><a name="l02006"></a><span class="lineno"> 2006</span>&#160;            } <span class="keywordflow">else</span> {</div><div class="line"><a name="l02007"></a><span class="lineno"> 2007</span>&#160;                <span class="comment">// point must be included in the selection only if ALL attached</span></div><div class="line"><a name="l02008"></a><span class="lineno"> 2008</span>&#160;                <span class="comment">// faces belong to to selected layers</span></div><div class="line"><a name="l02009"></a><span class="lineno"> 2009</span>&#160;                select = <span class="keyword">true</span>;</div><div class="line"><a name="l02010"></a><span class="lineno"> 2010</span>&#160;                <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> j=0; j&lt;pt-&gt;<a class="code" href="classShipCAD_1_1SubdivisionPoint.html#a474297f7514f867f77ac35e50e9ce6aa">numberOfFaces</a>(); j++) {</div><div class="line"><a name="l02011"></a><span class="lineno"> 2011</span>&#160;                    <a class="code" href="classShipCAD_1_1SubdivisionControlFace.html">SubdivisionControlFace</a>* face = <span class="keyword">dynamic_cast&lt;</span><a class="code" href="classShipCAD_1_1SubdivisionControlFace.html">SubdivisionControlFace</a>*<span class="keyword">&gt;</span>(pt-&gt;<a class="code" href="classShipCAD_1_1SubdivisionPoint.html#a348be9715813e54ce5895b551d46c67c">getFace</a>(j));</div><div class="line"><a name="l02012"></a><span class="lineno"> 2012</span>&#160;                    <a class="code" href="classShipCAD_1_1SubdivisionLayer.html">SubdivisionLayer</a>* layer = face-&gt;<a class="code" href="classShipCAD_1_1SubdivisionControlFace.html#a25e4ea676adc327a430b50a81e91ef9d">getLayer</a>();</div><div class="line"><a name="l02013"></a><span class="lineno"> 2013</span>&#160;                    <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> k=0; k&lt;data-&gt;<a class="code" href="structShipCAD_1_1ChooseLayerDialogData.html#abf3c16e3322c1f9b93822204dd2ee825">layers</a>.size(); k++) {</div><div class="line"><a name="l02014"></a><span class="lineno"> 2014</span>&#160;                        <span class="keywordflow">if</span> (data-&gt;<a class="code" href="structShipCAD_1_1ChooseLayerDialogData.html#abf3c16e3322c1f9b93822204dd2ee825">layers</a>[k].first == layer &amp;&amp; !data-&gt;<a class="code" href="structShipCAD_1_1ChooseLayerDialogData.html#abf3c16e3322c1f9b93822204dd2ee825">layers</a>[k].second) {</div><div class="line"><a name="l02015"></a><span class="lineno"> 2015</span>&#160;                            select = <span class="keyword">false</span>;</div><div class="line"><a name="l02016"></a><span class="lineno"> 2016</span>&#160;                            <span class="keywordflow">break</span>;</div><div class="line"><a name="l02017"></a><span class="lineno"> 2017</span>&#160;                        }</div><div class="line"><a name="l02018"></a><span class="lineno"> 2018</span>&#160;                    }</div><div class="line"><a name="l02019"></a><span class="lineno"> 2019</span>&#160;                    <span class="keywordflow">if</span> (!select)</div><div class="line"><a name="l02020"></a><span class="lineno"> 2020</span>&#160;                        <span class="keywordflow">break</span>;</div><div class="line"><a name="l02021"></a><span class="lineno"> 2021</span>&#160;                }</div><div class="line"><a name="l02022"></a><span class="lineno"> 2022</span>&#160;            }</div><div class="line"><a name="l02023"></a><span class="lineno"> 2023</span>&#160;            pt-&gt;<a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html#a5642f57c7f17e78c27ad6edb0fdb7f65">setSelected</a>(select);</div><div class="line"><a name="l02024"></a><span class="lineno"> 2024</span>&#160;        }</div><div class="line"><a name="l02025"></a><span class="lineno"> 2025</span>&#160;    }</div><div class="line"><a name="l02026"></a><span class="lineno"> 2026</span>&#160;}</div><div class="ttc" id="classShipCAD_1_1Controller_html_ae9cce4c133abd067d98812eb342663d0"><div class="ttname"><a href="classShipCAD_1_1Controller.html#ae9cce4c133abd067d98812eb342663d0">ShipCAD::Controller::deleteMarkers</a></div><div class="ttdeci">void deleteMarkers()</div><div class="ttdoc">delete all markers from the model </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01090">controller.cpp:1090</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a07a48262bd736b3e2e3da4123b1f08a4"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a07a48262bd736b3e2e3da4123b1f08a4">ShipCAD::Controller::deleteSelections</a></div><div class="ttdeci">void deleteSelections()</div><div class="ttdoc">delete all selected items </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01550">controller.cpp:1550</a></div></div>
<div class="ttc" id="classShipCAD_1_1Viewport_html_a5f261a1925f09917013e8e532688326a"><div class="ttname"><a href="classShipCAD_1_1Viewport.html#a5f261a1925f09917013e8e532688326a">ShipCAD::Viewport::getViewportType</a></div><div class="ttdeci">viewport_type_t getViewportType() const </div><div class="ttdef"><b>Definition:</b> <a href="viewport_8h_source.html#l00097">viewport.h:97</a></div></div>
<div class="ttc" id="structShipCAD_1_1IntersectionsDialogData_html_aa646939995a2b52262724964a6e1fd47"><div class="ttname"><a href="structShipCAD_1_1IntersectionsDialogData.html#aa646939995a2b52262724964a6e1fd47">ShipCAD::IntersectionsDialogData::diagonals</a></div><div class="ttdeci">IntersectionVector diagonals</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00186">dialogdata.h:186</a></div></div>
<div class="ttc" id="structShipCAD_1_1ChooseLayerDialogData_html_a24787e5e75c8a507eb02c5152dcf1209"><div class="ttname"><a href="structShipCAD_1_1ChooseLayerDialogData.html#a24787e5e75c8a507eb02c5152dcf1209">ShipCAD::ChooseLayerDialogData::include_points</a></div><div class="ttdeci">bool include_points</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00134">dialogdata.h:134</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_a33e1c54e3609477478431b6a4c106804"><div class="ttname"><a href="namespaceShipCAD.html#a33e1c54e3609477478431b6a4c106804">ShipCAD::LayerSelectMode</a></div><div class="ttdeci">LayerSelectMode</div><div class="ttdoc">enumeration of layer select mode </div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00124">dialogdata.h:124</a></div></div>
<div class="ttc" id="structShipCAD_1_1NewModelDialogData_html_a6941e9fd4fd42257c0b05c6076aadc2a"><div class="ttname"><a href="structShipCAD_1_1NewModelDialogData.html#a6941e9fd4fd42257c0b05c6076aadc2a">ShipCAD::NewModelDialogData::depth</a></div><div class="ttdeci">float depth</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00200">dialogdata.h:200</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlPoint_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlPoint.html">ShipCAD::SubdivisionControlPoint</a></div><div class="ttdoc">3D Control point </div><div class="ttdef"><b>Definition:</b> <a href="subdivpoint_8h_source.html#l00208">subdivpoint.h:208</a></div></div>
<div class="ttc" id="structShipCAD_1_1ChooseColorDialogData_html"><div class="ttname"><a href="structShipCAD_1_1ChooseColorDialogData.html">ShipCAD::ChooseColorDialogData</a></div><div class="ttdoc">color chooser dialog exchange </div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00080">dialogdata.h:80</a></div></div>
<div class="ttc" id="classOrderedPointMap_html_afc97596deeaa4241ab8533aa2df0f8cf"><div class="ttname"><a href="classOrderedPointMap.html#afc97596deeaa4241ab8533aa2df0f8cf">OrderedPointMap::clear</a></div><div class="ttdeci">void clear()</div><div class="ttdef"><b>Definition:</b> <a href="orderedmap_8h_source.html#l00136">orderedmap.h:136</a></div></div>
<div class="ttc" id="structShipCAD_1_1IntersectLayersDialogData_html_a4eaea862a9ce61c04b6a1d0b972ca9c1"><div class="ttname"><a href="structShipCAD_1_1IntersectLayersDialogData.html#a4eaea862a9ce61c04b6a1d0b972ca9c1">ShipCAD::IntersectLayersDialogData::layers</a></div><div class="ttdeci">std::vector&lt; SubdivisionLayer * &gt; layers</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00059">dialogdata.h:59</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a7b9dba5b5e8ba7f761b0223ff3629e9c"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a7b9dba5b5e8ba7f761b0223ff3629e9c">ShipCAD::Controller::exportPart</a></div><div class="ttdeci">void exportPart(const QString &amp;filename)</div><div class="ttdoc">export geometry as a part file </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00613">controller.cpp:613</a></div></div>
<div class="ttc" id="structShipCAD_1_1SurfaceCheckResult_html_ac9cd6a616b54cdfc8f2de4260810e751"><div class="ttname"><a href="structShipCAD_1_1SurfaceCheckResult.html#ac9cd6a616b54cdfc8f2de4260810e751">ShipCAD::SurfaceCheckResult::double_edges</a></div><div class="ttdeci">size_t double_edges</div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00204">shipcadlib.h:204</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_aedec5d6b6975369449ad85015fdf356b"><div class="ttname"><a href="classShipCAD_1_1Controller.html#aedec5d6b6975369449ad85015fdf356b">ShipCAD::Controller::exportObj</a></div><div class="ttdeci">void exportObj()</div><div class="ttdoc">export model as wavefront .obj file </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00650">controller.cpp:650</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a202940610fb5179281bc045b8e9f9925"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a202940610fb5179281bc045b8e9f9925">ShipCAD::Controller::displayErrorDialog</a></div><div class="ttdeci">void displayErrorDialog(const QString &amp;msg)</div><div class="ttdoc">show an error dialog </div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionPoint_html_abc15cbc4faebeb138c1a4a4890a3173b"><div class="ttname"><a href="classShipCAD_1_1SubdivisionPoint.html#abc15cbc4faebeb138c1a4a4890a3173b">ShipCAD::SubdivisionPoint::getVertexType</a></div><div class="ttdeci">vertex_type_t getVertexType() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivpoint_8h_source.html#l00169">subdivpoint.h:169</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a6133fe12cd13b6ce24424e19a8b1e433"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a6133fe12cd13b6ce24424e19a8b1e433">ShipCAD::ShipCADModel::setPrecision</a></div><div class="ttdeci">void setPrecision(precision_t precision)</div><div class="ttdoc">set precision of model </div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8cpp_source.html#l00222">shipcadmodel.cpp:222</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a690bd5621d82d15a28ea59c09ded99d8"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a690bd5621d82d15a28ea59c09ded99d8">ShipCAD::ShipCADModel::clearSelectedItems</a></div><div class="ttdeci">void clearSelectedItems()</div><div class="ttdoc">clear all selected items </div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8cpp_source.html#l00252">shipcadmodel.cpp:252</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a83dbf01267c7736a8676336785178db6"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a83dbf01267c7736a8676336785178db6">ShipCAD::ShipCADModel::deleteSelected</a></div><div class="ttdeci">void deleteSelected()</div><div class="ttdoc">delete all selected items </div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8cpp_source.html#l01164">shipcadmodel.cpp:1164</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionLayer_html_adb65832883b6d2c88803d62edb48588b"><div class="ttname"><a href="classShipCAD_1_1SubdivisionLayer.html#adb65832883b6d2c88803d62edb48588b">ShipCAD::SubdivisionLayer::isVisible</a></div><div class="ttdeci">bool isVisible() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivlayer_8h_source.html#l00084">subdivlayer.h:84</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_a02ae626d57305729ff870e14dd7f6e26"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#a02ae626d57305729ff870e14dd7f6e26">ShipCAD::Visibility::isShowStations</a></div><div class="ttdeci">bool isShowStations() const </div><div class="ttdoc">show visibility of stations </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8h_source.html#l00196">visibility.h:196</a></div></div>
<div class="ttc" id="classShipCAD_1_1Marker_html_a65736e4307c4a0f0ca6b1a2e1f51b556"><div class="ttname"><a href="classShipCAD_1_1Marker.html#a65736e4307c4a0f0ca6b1a2e1f51b556">ShipCAD::Marker::loadFromText</a></div><div class="ttdeci">static void loadFromText(ShipCADModel *model, QTextStream &amp;file, PointerVector&lt; Marker &gt; &amp;markers)</div><div class="ttdef"><b>Definition:</b> <a href="marker_8cpp_source.html#l00189">marker.cpp:189</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionPoint_html_a474297f7514f867f77ac35e50e9ce6aa"><div class="ttname"><a href="classShipCAD_1_1SubdivisionPoint.html#a474297f7514f867f77ac35e50e9ce6aa">ShipCAD::SubdivisionPoint::numberOfFaces</a></div><div class="ttdeci">size_t numberOfFaces() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivpoint_8h_source.html#l00160">subdivpoint.h:160</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_aaa421c35fc4e7b567123810ac7982747"><div class="ttname"><a href="classShipCAD_1_1Controller.html#aaa421c35fc4e7b567123810ac7982747">ShipCAD::Controller::exportOffsets</a></div><div class="ttdeci">void exportOffsets()</div><div class="ttdoc">export intersections as a textfile of 3D points </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00655">controller.cpp:655</a></div></div>
<div class="ttc" id="structShipCAD_1_1IntersectLayersDialogData_html"><div class="ttname"><a href="structShipCAD_1_1IntersectLayersDialogData.html">ShipCAD::IntersectLayersDialogData</a></div><div class="ttdoc">intersect layer dialog exchange </div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00056">dialogdata.h:56</a></div></div>
<div class="ttc" id="subdivface_8h_html"><div class="ttname"><a href="subdivface_8h.html">subdivface.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_aca4334441b3388052a1bd3ac5e8f6b22"><div class="ttname"><a href="classShipCAD_1_1Controller.html#aca4334441b3388052a1bd3ac5e8f6b22">ShipCAD::Controller::exeInsertPlanePointsDialog</a></div><div class="ttdeci">void exeInsertPlanePointsDialog(ShipCAD::InsertPlaneDialogData &amp;data)</div><div class="ttdoc">execute the Insert Plane Control Points dialog </div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_ab341d0cdcbff45647e52544eed79b4f5"><div class="ttname"><a href="classShipCAD_1_1Controller.html#ab341d0cdcbff45647e52544eed79b4f5">ShipCAD::Controller::importPart</a></div><div class="ttdeci">void importPart(const QString &amp;filename)</div><div class="ttdoc">import a partfile and add to current geometry </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00709">controller.cpp:709</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a52d924f36259b6ec401acb6165922dc2"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a52d924f36259b6ec401acb6165922dc2">ShipCAD::Controller::importVRML</a></div><div class="ttdeci">void importVRML()</div><div class="ttdoc">import a VRML 1.0 file </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00754">controller.cpp:754</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_acaba0800c9cee9db5aba5a5838b89cd8"><div class="ttname"><a href="classShipCAD_1_1Controller.html#acaba0800c9cee9db5aba5a5838b89cd8">ShipCAD::Controller::adjustMarkersDialog</a></div><div class="ttdeci">bool adjustMarkersDialog()</div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00474">controller.cpp:474</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_a293f2a74bb76c65b7fa706e8aac353f1"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#a293f2a74bb76c65b7fa706e8aac353f1">ShipCAD::Visibility::isShowButtocks</a></div><div class="ttdeci">bool isShowButtocks() const </div><div class="ttdoc">show visibility of buttocks </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8h_source.html#l00086">visibility.h:86</a></div></div>
<div class="ttc" id="structShipCAD_1_1IntersectionsDialogData_html_a3f9b8b74cdacaed5cfdf2026dfaf2d75"><div class="ttname"><a href="structShipCAD_1_1IntersectionsDialogData.html#a3f9b8b74cdacaed5cfdf2026dfaf2d75">ShipCAD::IntersectionsDialogData::changed</a></div><div class="ttdeci">bool changed</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00181">dialogdata.h:181</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a2a4079dc0201ed5e22776fbe942143f2"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a2a4079dc0201ed5e22776fbe942143f2">ShipCAD::Controller::intersectLayerPoint</a></div><div class="ttdeci">void intersectLayerPoint()</div><div class="ttdoc">calculate the intersection points of 2 layers </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01329">controller.cpp:1329</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a9ba96a9070361816f926d8b0d2becd38"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a9ba96a9070361816f926d8b0d2becd38">ShipCAD::Controller::showCurvature</a></div><div class="ttdeci">void showCurvature(bool val)</div><div class="ttdoc">show curve curvature </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01668">controller.cpp:1668</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a4dbd04dffa55a42ec77f15d45909d55c"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a4dbd04dffa55a42ec77f15d45909d55c">ShipCAD::Controller::saveFile</a></div><div class="ttdeci">void saveFile()</div><div class="ttdoc">save a FREE!Ship file without asking for filename </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00778">controller.cpp:778</a></div></div>
<div class="ttc" id="structShipCAD_1_1ChooseColorDialogData_html_afa2fd53ceaab239e68818cb93463e247"><div class="ttname"><a href="structShipCAD_1_1ChooseColorDialogData.html#afa2fd53ceaab239e68818cb93463e247">ShipCAD::ChooseColorDialogData::chosen</a></div><div class="ttdeci">QColor chosen</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00086">dialogdata.h:86</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a83e2091e476b3ea89c75ecb25f46268b"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a83e2091e476b3ea89c75ecb25f46268b">ShipCAD::ShipCADModel::createIntersection</a></div><div class="ttdeci">Intersection * createIntersection(intersection_type_t ty, float distance)</div><div class="ttdoc">create an intersection </div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8cpp_source.html#l00846">shipcadmodel.cpp:846</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a5f2fbd88c0652692848f71945c6e34b8"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a5f2fbd88c0652692848f71945c6e34b8">ShipCAD::SubdivisionSurface::getActiveLayer</a></div><div class="ttdeci">SubdivisionLayer * getActiveLayer() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00289">subdivsurface.h:289</a></div></div>
<div class="ttc" id="classShipCAD_1_1FileBuffer_html_afe2a6e56770eed6bf9df894baa28c9fe"><div class="ttname"><a href="classShipCAD_1_1FileBuffer.html#afe2a6e56770eed6bf9df894baa28c9fe">ShipCAD::FileBuffer::loadFromFile</a></div><div class="ttdeci">void loadFromFile(QFile &amp;file)</div><div class="ttdef"><b>Definition:</b> <a href="filebuffer_8cpp_source.html#l00068">filebuffer.cpp:68</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_a7f3f2b2f3dd7ddb554464969562c76ec"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#a7f3f2b2f3dd7ddb554464969562c76ec">ShipCAD::Visibility::isShowHydrostaticData</a></div><div class="ttdeci">bool isShowHydrostaticData() const </div><div class="ttdoc">show visibility of hydrostatic data </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8h_source.html#l00229">visibility.h:229</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_a03171cc921c53a568b778f5131a60deba11889066d8ae7a44f297f45684bb99de"><div class="ttname"><a href="namespaceShipCAD.html#a03171cc921c53a568b778f5131a60deba11889066d8ae7a44f297f45684bb99de">ShipCAD::svRegular</a></div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00140">shipcadlib.h:140</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a5e9e159fc6c1fcd06cc14005bb0e51c8"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a5e9e159fc6c1fcd06cc14005bb0e51c8">ShipCAD::ShipCADModel::scaleModel</a></div><div class="ttdeci">void scaleModel(const QVector3D &amp;scale, bool override_lock, bool adjust_markers)</div><div class="ttdoc">scale the entire model and all associated data such as sttions </div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8cpp_source.html#l00766">shipcadmodel.cpp:766</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a993e2dfe6bb88cf07375e6a57d2d15a5"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a993e2dfe6bb88cf07375e6a57d2d15a5">ShipCAD::Controller::clearSelections</a></div><div class="ttdeci">void clearSelections()</div><div class="ttdoc">deselect all selected items </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01537">controller.cpp:1537</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_aa6af8872deba5b401ac575a85901a265"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#aa6af8872deba5b401ac575a85901a265">ShipCAD::ShipCADModel::getPreferences</a></div><div class="ttdeci">Preferences &amp; getPreferences()</div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8h_source.html#l00077">shipcadmodel.h:77</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a52b8812ceca0b4368dea2e2b4399d860"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a52b8812ceca0b4368dea2e2b4399d860">ShipCAD::Controller::undo</a></div><div class="ttdeci">void undo()</div><div class="ttdoc">restore the state of the model before last modification </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01598">controller.cpp:1598</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a766535d7bc29bf81b3b75808be19a0d0"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a766535d7bc29bf81b3b75808be19a0d0">ShipCAD::Controller::deleteBackgroundImage</a></div><div class="ttdeci">void deleteBackgroundImage()</div><div class="ttdoc">delete the background image </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00105">controller.cpp:105</a></div></div>
<div class="ttc" id="structShipCAD_1_1MirrorDialogData_html_ab692a899cc809b67fd65fee10848e863"><div class="ttname"><a href="structShipCAD_1_1MirrorDialogData.html#ab692a899cc809b67fd65fee10848e863">ShipCAD::MirrorDialogData::distance</a></div><div class="ttdeci">float distance</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00151">dialogdata.h:151</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_ab25a7a80800de3a4c1eac65397ce25e0"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#ab25a7a80800de3a4c1eac65397ce25e0">ShipCAD::SubdivisionSurface::getControlEdge</a></div><div class="ttdeci">SubdivisionControlEdge * getControlEdge(size_t index) const </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l01062">subdivsurface.cpp:1062</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_ad2f9dfd32667e9ac690de184b7e576f1"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#ad2f9dfd32667e9ac690de184b7e576f1">ShipCAD::ShipCADModel::clear</a></div><div class="ttdeci">void clear()</div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8cpp_source.html#l00066">shipcadmodel.cpp:66</a></div></div>
<div class="ttc" id="structShipCAD_1_1InsertPlaneDialogData_html_acef8dafcdd66649d8d0fa6fe6f8a7ea6"><div class="ttname"><a href="structShipCAD_1_1InsertPlaneDialogData.html#acef8dafcdd66649d8d0fa6fe6f8a7ea6">ShipCAD::InsertPlaneDialogData::max</a></div><div class="ttdeci">QVector3D max</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00048">dialogdata.h:48</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a0d969a8b0f05767d6507290f118d769c"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a0d969a8b0f05767d6507290f118d769c">ShipCAD::ShipCADModel::savePart</a></div><div class="ttdeci">void savePart(const QString &amp;filename, FileBuffer &amp;buffer, std::vector&lt; SubdivisionControlFace * &gt; &amp;faces)</div><div class="ttdoc">save selected faces as a part file </div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8cpp_source.html#l01307">shipcadmodel.cpp:1307</a></div></div>
<div class="ttc" id="structShipCAD_1_1LayerDialogData_html_a9ba6f5373c88460d880811ad835d74f1"><div class="ttname"><a href="structShipCAD_1_1LayerDialogData.html#a9ba6f5373c88460d880811ad835d74f1">ShipCAD::LayerDialogData::layers</a></div><div class="ttdeci">std::vector&lt; LayerPropertiesForDialog &gt; layers</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00115">dialogdata.h:115</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_adcf0db573afa7c865de68d0b36d41f15"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#adcf0db573afa7c865de68d0b36d41f15">ShipCAD::ShipCADModel::newModel</a></div><div class="ttdeci">void newModel(unit_type_t units, float length, float breadth, float draft, size_t rows, size_t cols)</div><div class="ttdoc">create a new model </div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8cpp_source.html#l01220">shipcadmodel.cpp:1220</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a56cdb705108804e8c8b723c343316280"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a56cdb705108804e8c8b723c343316280">ShipCAD::Controller::exeChooseColorDialog</a></div><div class="ttdeci">void exeChooseColorDialog(ShipCAD::ChooseColorDialogData &amp;data)</div><div class="ttdoc">execute the Choose Color dialog </div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a31ded45e333650203b2bee587e55a7ed"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a31ded45e333650203b2bee587e55a7ed">ShipCAD::Controller::collapseEdges</a></div><div class="ttdeci">void collapseEdges()</div><div class="ttdoc">remove an edge by replacing the two connected faces with one face </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00139">controller.cpp:139</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_a03171cc921c53a568b778f5131a60deba79fc4e40055439350070993be28ec8ca"><div class="ttname"><a href="namespaceShipCAD.html#a03171cc921c53a568b778f5131a60deba79fc4e40055439350070993be28ec8ca">ShipCAD::svCrease</a></div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00141">shipcadlib.h:141</a></div></div>
<div class="ttc" id="structShipCAD_1_1IntersectLayersDialogData_html_a7e7e7ce1ce0b9f4febc9fa82b1c9a2f8"><div class="ttname"><a href="structShipCAD_1_1IntersectLayersDialogData.html#a7e7e7ce1ce0b9f4febc9fa82b1c9a2f8">ShipCAD::IntersectLayersDialogData::accepted</a></div><div class="ttdeci">bool accepted</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00058">dialogdata.h:58</a></div></div>
<div class="ttc" id="classPointerVector_html_a65263559ccd6a9eac2904c691453867b"><div class="ttname"><a href="classPointerVector.html#a65263559ccd6a9eac2904c691453867b">PointerVector::size</a></div><div class="ttdeci">size_t size() const </div><div class="ttdef"><b>Definition:</b> <a href="pointervec_8h_source.html#l00063">pointervec.h:63</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_a880f36455b3b35823ae14bdd62e20b31"><div class="ttname"><a href="namespaceShipCAD.html#a880f36455b3b35823ae14bdd62e20b31">ShipCAD::MarkerVectorIterator</a></div><div class="ttdeci">std::vector&lt; Marker * &gt;::iterator MarkerVectorIterator</div><div class="ttdef"><b>Definition:</b> <a href="marker_8h_source.html#l00084">marker.h:84</a></div></div>
<div class="ttc" id="structShipCAD_1_1InsertPlaneDialogData_html_a930de438c156597564b6ae33dcea03c3"><div class="ttname"><a href="structShipCAD_1_1InsertPlaneDialogData.html#a930de438c156597564b6ae33dcea03c3">ShipCAD::InsertPlaneDialogData::addControlCurveSelected</a></div><div class="ttdeci">bool addControlCurveSelected</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00044">dialogdata.h:44</a></div></div>
<div class="ttc" id="classShipCAD_1_1Preferences_html_aab29ea10ab3248d163dbc97e2c6b4585"><div class="ttname"><a href="classShipCAD_1_1Preferences.html#aab29ea10ab3248d163dbc97e2c6b4585">ShipCAD::Preferences::saveSettings</a></div><div class="ttdeci">void saveSettings() const </div><div class="ttdef"><b>Definition:</b> <a href="preferences_8cpp_source.html#l00158">preferences.cpp:158</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a3e7966e9726ba79f9978e691ce096964"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a3e7966e9726ba79f9978e691ce096964">ShipCAD::Controller::developLayers</a></div><div class="ttdeci">void developLayers()</div><div class="ttdoc">develop all developable layers </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01016">controller.cpp:1016</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_ad2bc80eb2e8445e335709804120e80f8"><div class="ttname"><a href="classShipCAD_1_1Controller.html#ad2bc80eb2e8445e335709804120e80f8">ShipCAD::Controller::newFace</a></div><div class="ttdeci">void newFace()</div><div class="ttdoc">create a new control face from selected control points </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00377">controller.cpp:377</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_ab8ebd7e609781f3ded96e355b7e2b869"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#ab8ebd7e609781f3ded96e355b7e2b869">ShipCAD::Visibility::copy_from_dialog</a></div><div class="ttdeci">void copy_from_dialog(Visibility &amp;dialog_state)</div><div class="ttdoc">copy settings from dialog </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8cpp_source.html#l00317">visibility.cpp:317</a></div></div>
<div class="ttc" id="structShipCAD_1_1ExtrudeEdgeDialogData_html"><div class="ttname"><a href="structShipCAD_1_1ExtrudeEdgeDialogData.html">ShipCAD::ExtrudeEdgeDialogData</a></div><div class="ttdoc">extrude edge dialog exchange </div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00069">dialogdata.h:69</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_adf96eb2133086a34056f6c0f75556f13"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#adf96eb2133086a34056f6c0f75556f13">ShipCAD::Visibility::isShowControlCurves</a></div><div class="ttdeci">bool isShowControlCurves() const </div><div class="ttdoc">show visibility of control curves </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8h_source.html#l00218">visibility.h:218</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a24b230e51a0c5fb3e7f51d0e2340eb9f"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a24b230e51a0c5fb3e7f51d0e2340eb9f">ShipCAD::SubdivisionSurface::getLayer</a></div><div class="ttdeci">SubdivisionLayer * getLayer(size_t index)</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l01187">subdivsurface.cpp:1187</a></div></div>
<div class="ttc" id="structShipCAD_1_1InsertPlaneDialogData_html_a73456e4622597dce48d16c05be358593"><div class="ttname"><a href="structShipCAD_1_1InsertPlaneDialogData.html#a73456e4622597dce48d16c05be358593">ShipCAD::InsertPlaneDialogData::distance</a></div><div class="ttdeci">float distance</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00046">dialogdata.h:46</a></div></div>
<div class="ttc" id="classPointerVector_html_a9f708acfaa3ce26d14b02d8e285c8729"><div class="ttname"><a href="classPointerVector.html#a9f708acfaa3ce26d14b02d8e285c8729">PointerVector::clear</a></div><div class="ttdeci">void clear()</div><div class="ttdef"><b>Definition:</b> <a href="pointervec_8h_source.html#l00054">pointervec.h:54</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionPoint_html_a348be9715813e54ce5895b551d46c67c"><div class="ttname"><a href="classShipCAD_1_1SubdivisionPoint.html#a348be9715813e54ce5895b551d46c67c">ShipCAD::SubdivisionPoint::getFace</a></div><div class="ttdeci">SubdivisionFace * getFace(size_t index) const </div><div class="ttdef"><b>Definition:</b> <a href="subdivpoint_8cpp_source.html#l00095">subdivpoint.cpp:95</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a50cca4c783baeba58c8068c9b8a5d6a4"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a50cca4c783baeba58c8068c9b8a5d6a4">ShipCAD::ShipCADModel::getVisibility</a></div><div class="ttdeci">Visibility &amp; getVisibility()</div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8h_source.html#l00074">shipcadmodel.h:74</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a7038d511c9398f34ec9df3d0a1311b14"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a7038d511c9398f34ec9df3d0a1311b14">ShipCAD::Controller::unlockPoints</a></div><div class="ttdeci">void unlockPoints()</div><div class="ttdoc">unlock all selected points </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01481">controller.cpp:1481</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a8792a506f5468a07a3ee6e7fc886b5ee"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a8792a506f5468a07a3ee6e7fc886b5ee">ShipCAD::Controller::editProjectSettings</a></div><div class="ttdeci">void editProjectSettings()</div><div class="ttdoc">edit project settings </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01888">controller.cpp:1888</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_aa471985ce00a517249c2b476db9d4ac6"><div class="ttname"><a href="classShipCAD_1_1Controller.html#aa471985ce00a517249c2b476db9d4ac6">ShipCAD::Controller::setActiveLayerColor</a></div><div class="ttdeci">void setActiveLayerColor()</div><div class="ttdoc">set active layer color </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01838">controller.cpp:1838</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a8908d7adff0b1aa1ed118103c02c5402"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a8908d7adff0b1aa1ed118103c02c5402">ShipCAD::ShipCADModel::getButtocks</a></div><div class="ttdeci">IntersectionVector &amp; getButtocks()</div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8h_source.html#l00156">shipcadmodel.h:156</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a74187705f2260e641293b2f369757f98"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a74187705f2260e641293b2f369757f98">ShipCAD::Controller::showFlowlines</a></div><div class="ttdeci">void showFlowlines(bool)</div><div class="ttdoc">show flowlines </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01773">controller.cpp:1773</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_a9aa81550e01813b9ec84b40aba5f904e"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#a9aa81550e01813b9ec84b40aba5f904e">ShipCAD::Visibility::isShowGrid</a></div><div class="ttdeci">bool isShowGrid() const </div><div class="ttdoc">is grid shown </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8h_source.html#l00141">visibility.h:141</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html_abaf7f7cfec21eedacf55b1654f3e7f2f"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html#abaf7f7cfec21eedacf55b1654f3e7f2f">ShipCAD::SubdivisionControlCurve::setSelected</a></div><div class="ttdeci">void setSelected(bool val)</div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8cpp_source.html#l00084">subdivcontrolcurve.cpp:84</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_a8e7776fdc776e8fa96b7e9bce1cffdce"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#a8e7776fdc776e8fa96b7e9bce1cffdce">ShipCAD::Visibility::setShowButtocks</a></div><div class="ttdeci">void setShowButtocks(bool show)</div><div class="ttdoc">set visibility of buttocks </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8cpp_source.html#l00229">visibility.cpp:229</a></div></div>
<div class="ttc" id="classOrderedPointMap_html_ae87e03500550c05c9b5fe8bd5554a88a"><div class="ttname"><a href="classOrderedPointMap.html#ae87e03500550c05c9b5fe8bd5554a88a">OrderedPointMap::get</a></div><div class="ttdeci">ShipCAD::SubdivisionControlPoint * get(size_t index) const </div><div class="ttdef"><b>Definition:</b> <a href="orderedmap_8h_source.html#l00157">orderedmap.h:157</a></div></div>
<div class="ttc" id="structShipCAD_1_1InsertPlaneDialogData_html_a27431ce232112ee8c3c01cdc5eaba7fd"><div class="ttname"><a href="structShipCAD_1_1InsertPlaneDialogData.html#a27431ce232112ee8c3c01cdc5eaba7fd">ShipCAD::InsertPlaneDialogData::min</a></div><div class="ttdeci">QVector3D min</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00047">dialogdata.h:47</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a0ce9a5b0d89230deea8a85cd32ec24da"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a0ce9a5b0d89230deea8a85cd32ec24da">ShipCAD::Controller::importHull</a></div><div class="ttdeci">void importHull()</div><div class="ttdoc">import a file created with Carlsson&amp;#39;s Hulls program </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00703">controller.cpp:703</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_a805b3f5f4a8d7c6b578a79c2539cf192"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#a805b3f5f4a8d7c6b578a79c2539cf192">ShipCAD::Visibility::setShowFlowlines</a></div><div class="ttdeci">void setShowFlowlines(bool show)</div><div class="ttdoc">set show flowlines </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8cpp_source.html#l00261">visibility.cpp:261</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlPoint_html_a85c52118d96f400be4705bf419b412c6"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlPoint.html#a85c52118d96f400be4705bf419b412c6">ShipCAD::SubdivisionControlPoint::isLocked</a></div><div class="ttdeci">bool isLocked() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivpoint_8h_source.html#l00234">subdivpoint.h:234</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_a760ef76f6db721925ee95cefaae966de"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#a760ef76f6db721925ee95cefaae966de">ShipCAD::Visibility::setShowControlCurves</a></div><div class="ttdeci">void setShowControlCurves(bool show)</div><div class="ttdoc">set visibility of control curves </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8cpp_source.html#l00178">visibility.cpp:178</a></div></div>
<div class="ttc" id="structShipCAD_1_1NewModelDialogData_html_a8ff4b02ff5c3ce20c0b0d3bdade551a7"><div class="ttname"><a href="structShipCAD_1_1NewModelDialogData.html#a8ff4b02ff5c3ce20c0b0d3bdade551a7">ShipCAD::NewModelDialogData::units</a></div><div class="ttdeci">unit_type_t units</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00203">dialogdata.h:203</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_ac44acf971478b4ae06e8b8842c91d4b0"><div class="ttname"><a href="classShipCAD_1_1Controller.html#ac44acf971478b4ae06e8b8842c91d4b0">ShipCAD::Controller::importMarkers</a></div><div class="ttdeci">void importMarkers(const QString &amp;filename)</div><div class="ttdoc">import markers from a textfile </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01107">controller.cpp:1107</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a8fbe457b09df7d49442f58c97b2c50f3"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a8fbe457b09df7d49442f58c97b2c50f3">ShipCAD::Controller::creaseEdges</a></div><div class="ttdeci">void creaseEdges()</div><div class="ttdoc">switch selected edges between normal or crease edges </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00186">controller.cpp:186</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_aa3415e1acf9bdb19e24f31f5138d6a60"><div class="ttname"><a href="namespaceShipCAD.html#aa3415e1acf9bdb19e24f31f5138d6a60">ShipCAD::k_current_version</a></div><div class="ttdeci">const version_t k_current_version</div><div class="ttdef"><b>Definition:</b> <a href="version_8h_source.html#l00064">version.h:64</a></div></div>
<div class="ttc" id="classShipCAD_1_1ParseError_html_adddab14352397af6868f8ab973108efa"><div class="ttname"><a href="classShipCAD_1_1ParseError.html#adddab14352397af6868f8ab973108efa">ShipCAD::ParseError::info</a></div><div class="ttdeci">const QString &amp; info() const </div><div class="ttdef"><b>Definition:</b> <a href="exception_8h_source.html#l00045">exception.h:45</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a994923f432129431b30d6b532059a6ab"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a994923f432129431b30d6b532059a6ab">ShipCAD::SubdivisionSurface::numberOfControlPoints</a></div><div class="ttdeci">size_t numberOfControlPoints() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00186">subdivsurface.h:186</a></div></div>
<div class="ttc" id="structShipCAD_1_1ProjectSettingsDialogData_html_ae6f280accdfe3f4d212a5f1eec023c16"><div class="ttname"><a href="structShipCAD_1_1ProjectSettingsDialogData.html#ae6f280accdfe3f4d212a5f1eec023c16">ShipCAD::ProjectSettingsDialogData::settings</a></div><div class="ttdeci">ProjectSettings settings</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00240">dialogdata.h:240</a></div></div>
<div class="ttc" id="namespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div><div class="ttdoc">STL namespace. </div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a29d2c68605ec90055ae0aa27761f2b08"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a29d2c68605ec90055ae0aa27761f2b08">ShipCAD::Controller::showHydroData</a></div><div class="ttdeci">void showHydroData(bool)</div><div class="ttdoc">show Hydrostatic features </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01762">controller.cpp:1762</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionLayer_html_a5247d4b0cfc3b3c036d1de2b64381dc8"><div class="ttname"><a href="classShipCAD_1_1SubdivisionLayer.html#a5247d4b0cfc3b3c036d1de2b64381dc8">ShipCAD::SubdivisionLayer::faces_end</a></div><div class="ttdeci">std::vector&lt; SubdivisionControlFace * &gt;::const_iterator faces_end() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivlayer_8h_source.html#l00147">subdivlayer.h:147</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlPoint_html_a5642f57c7f17e78c27ad6edb0fdb7f65"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlPoint.html#a5642f57c7f17e78c27ad6edb0fdb7f65">ShipCAD::SubdivisionControlPoint::setSelected</a></div><div class="ttdeci">void setSelected(bool val)</div><div class="ttdef"><b>Definition:</b> <a href="subdivpoint_8cpp_source.html#l00619">subdivpoint.cpp:619</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_adb1d1402849db292b29ec78ba89639d9"><div class="ttname"><a href="classShipCAD_1_1Controller.html#adb1d1402849db292b29ec78ba89639d9">ShipCAD::Controller::showNormals</a></div><div class="ttdeci">void showNormals(bool val)</div><div class="ttdoc">show surface normals </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01679">controller.cpp:1679</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_ad9c16d37e77b98b2f289839d4f337325"><div class="ttname"><a href="classShipCAD_1_1Controller.html#ad9c16d37e77b98b2f289839d4f337325">ShipCAD::Controller::clearUndo</a></div><div class="ttdeci">void clearUndo()</div><div class="ttdoc">clear the undo history </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01612">controller.cpp:1612</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a7415bce07d64323be6b9d97885aa0875"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a7415bce07d64323be6b9d97885aa0875">ShipCAD::Controller::loadFile</a></div><div class="ttdeci">void loadFile(const QString &amp;filename)</div><div class="ttdoc">load a FREE!Ship file by name </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00759">controller.cpp:759</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_afbadc6404e43960f4f41d37832a2c8a6"><div class="ttname"><a href="classShipCAD_1_1Controller.html#afbadc6404e43960f4f41d37832a2c8a6">ShipCAD::Controller::exeIntersectionsDialog</a></div><div class="ttdeci">void exeIntersectionsDialog(ShipCAD::IntersectionsDialogData *data)</div><div class="ttdoc">execute the Intersections dialog </div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a2c9451a5922f70710222d9b2cd37665c"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a2c9451a5922f70710222d9b2cd37665c">ShipCAD::Controller::getSurface</a></div><div class="ttdeci">SubdivisionSurface * getSurface()</div><div class="ttdoc">get the surface for this model </div><div class="ttdef"><b>Definition:</b> <a href="controller_8h_source.html#l00080">controller.h:80</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a385d6d0d743bd8b66fb29bf210f24e6f"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a385d6d0d743bd8b66fb29bf210f24e6f">ShipCAD::Controller::setActiveLayer</a></div><div class="ttdeci">void setActiveLayer(int layernum)</div><div class="ttdoc">change the active layer </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01795">controller.cpp:1795</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a2f7c4f8e0759c8f59cd0b2d008e2776b"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a2f7c4f8e0759c8f59cd0b2d008e2776b">ShipCAD::Controller::mirrorPlaneFace</a></div><div class="ttdeci">void mirrorPlaneFace()</div><div class="ttdoc">mirror all selected faces on a plane </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00341">controller.cpp:341</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a81d04dc566ba580aa225c5369767220f"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a81d04dc566ba580aa225c5369767220f">ShipCAD::Controller::showControlNet</a></div><div class="ttdeci">void showControlNet(bool val)</div><div class="ttdoc">control net visibility </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01624">controller.cpp:1624</a></div></div>
<div class="ttc" id="structShipCAD_1_1MirrorDialogData_html_a6e3cdbe59eeedec71b5d3b56e5414516"><div class="ttname"><a href="structShipCAD_1_1MirrorDialogData.html#a6e3cdbe59eeedec71b5d3b56e5414516">ShipCAD::MirrorDialogData::connect_points</a></div><div class="ttdeci">bool connect_points</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00149">dialogdata.h:149</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_ac07b5944afd8a44c569aef09ee893450"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#ac07b5944afd8a44c569aef09ee893450">ShipCAD::Visibility::setShowWaterlines</a></div><div class="ttdeci">void setShowWaterlines(bool show)</div><div class="ttdoc">set visibility of waterlines </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8cpp_source.html#l00237">visibility.cpp:237</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_ad447a70b9f88ca1b9a81492fc3b86e2b"><div class="ttname"><a href="classShipCAD_1_1Controller.html#ad447a70b9f88ca1b9a81492fc3b86e2b">ShipCAD::Controller::lockPoints</a></div><div class="ttdeci">void lockPoints()</div><div class="ttdoc">locks all selected points </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01363">controller.cpp:1363</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a1eb61158ebc1814530f6b93d1ddf8d14"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a1eb61158ebc1814530f6b93d1ddf8d14">ShipCAD::Controller::importChines</a></div><div class="ttdeci">void importChines(const QString &amp;filename)</div><div class="ttdoc">import chines from a textfile and fit a surface through them </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00672">controller.cpp:672</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a672a7b2ed453cb316568217353dce1da"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a672a7b2ed453cb316568217353dce1da">ShipCAD::Controller::layerSelectionUpdate</a></div><div class="ttdeci">void layerSelectionUpdate(ShipCAD::ChooseLayerDialogData *data)</div><div class="ttdoc">update selected points based on layer chooser dialog data update </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01985">controller.cpp:1985</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a1e36fc51758f120731b0ff79855fab05"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a1e36fc51758f120731b0ff79855fab05">ShipCAD::Controller::importFEF</a></div><div class="ttdeci">void importFEF()</div><div class="ttdoc">import a Freeship exchange format (FEF) file </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00698">controller.cpp:698</a></div></div>
<div class="ttc" id="structShipCAD_1_1NewModelDialogData_html_ad0fc3e908a10e878c747fac2fe71b67b"><div class="ttname"><a href="structShipCAD_1_1NewModelDialogData.html#ad0fc3e908a10e878c747fac2fe71b67b">ShipCAD::NewModelDialogData::cols</a></div><div class="ttdeci">size_t cols</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00202">dialogdata.h:202</a></div></div>
<div class="ttc" id="viewport_8h_html"><div class="ttname"><a href="viewport_8h.html">viewport.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a167bdeeb8995f102acdbb8cdb92f34e3"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a167bdeeb8995f102acdbb8cdb92f34e3">ShipCAD::ShipCADModel::loadPart</a></div><div class="ttdeci">bool loadPart(FileBuffer &amp;source, version_t &amp;partversion)</div><div class="ttdoc">load a part </div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8cpp_source.html#l01402">shipcadmodel.cpp:1402</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_a33e1c54e3609477478431b6a4c106804ade3fc9da994d6e6ab125978921665966"><div class="ttname"><a href="namespaceShipCAD.html#a33e1c54e3609477478431b6a4c106804ade3fc9da994d6e6ab125978921665966">ShipCAD::fsFaces</a></div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00125">dialogdata.h:125</a></div></div>
<div class="ttc" id="classOrderedPointMap_html_a2b4e1630f6b13dba32a7200c670331cf"><div class="ttname"><a href="classOrderedPointMap.html#a2b4e1630f6b13dba32a7200c670331cf">OrderedPointMap::end</a></div><div class="ttdeci">iterator end()</div><div class="ttdef"><b>Definition:</b> <a href="orderedmap_8h_source.html#l00187">orderedmap.h:187</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a8092913bd49a8a98cf96ba9485758aaf"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a8092913bd49a8a98cf96ba9485758aaf">ShipCAD::SubdivisionSurface::check</a></div><div class="ttdeci">bool check(ShipCAD::SurfaceCheckResult &amp;checked, bool quiet)</div><div class="ttdoc">check a surface for consistent normal direction </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l03722">subdivsurface.cpp:3722</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_a63588a3b8aa0a7dd37b19173a4802b47"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#a63588a3b8aa0a7dd37b19173a4802b47">ShipCAD::Visibility::isShowInteriorEdges</a></div><div class="ttdeci">bool isShowInteriorEdges() const </div><div class="ttdoc">is interior edges shown </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8h_source.html#l00163">visibility.h:163</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlFace_html_a2ce580378cd200faec6a24d9d794c68e"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlFace.html#a2ce580378cd200faec6a24d9d794c68e">ShipCAD::SubdivisionControlFace::setSelected</a></div><div class="ttdeci">void setSelected(bool val)</div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8cpp_source.html#l01081">subdivface.cpp:1081</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a1166213c5440962c118b688d1aa0aa28"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a1166213c5440962c118b688d1aa0aa28">ShipCAD::SubdivisionSurface::numberOfControlEdges</a></div><div class="ttdeci">size_t numberOfControlEdges() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00217">subdivsurface.h:217</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_a30b09a2ad6cc05c2ce1cdc450a0857d1"><div class="ttname"><a href="namespaceShipCAD.html#a30b09a2ad6cc05c2ce1cdc450a0857d1">ShipCAD::PointProjectToLine</a></div><div class="ttdeci">QVector3D PointProjectToLine(const QVector3D &amp;p1, const QVector3D &amp;p2, const QVector3D &amp;p)</div><div class="ttdoc">project a point to a line </div><div class="ttdef"><b>Definition:</b> <a href="utility_8cpp_source.html#l00068">utility.cpp:68</a></div></div>
<div class="ttc" id="structShipCAD_1_1RotateDialogData_html"><div class="ttname"><a href="structShipCAD_1_1RotateDialogData.html">ShipCAD::RotateDialogData</a></div><div class="ttdoc">rotate dialog exchange </div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00160">dialogdata.h:160</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_a7498435ee6955772713b113a63279260"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#a7498435ee6955772713b113a63279260">ShipCAD::Visibility::setShowControlNet</a></div><div class="ttdeci">void setShowControlNet(bool show)</div><div class="ttdoc">set visibility of control net </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8cpp_source.html#l00160">visibility.cpp:160</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a07daf75d876f80296f841f5c8d2327cb"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a07daf75d876f80296f841f5c8d2327cb">ShipCAD::ShipCADModel::setFilename</a></div><div class="ttdeci">void setFilename(const QString &amp;name)</div><div class="ttdoc">set the name of the file </div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8cpp_source.html#l00267">shipcadmodel.cpp:267</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a8b4484c9a2859c37170bd75a90676bb1"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a8b4484c9a2859c37170bd75a90676bb1">ShipCAD::Controller::exeProjectSettingsDialog</a></div><div class="ttdeci">void exeProjectSettingsDialog(ShipCAD::ProjectSettingsDialogData *data)</div><div class="ttdoc">execute the project settings dialog </div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a5e3d8876bd01217eda54b73c06a42d47"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a5e3d8876bd01217eda54b73c06a42d47">ShipCAD::Controller::displayInfoDialog</a></div><div class="ttdeci">void displayInfoDialog(const QString &amp;msg)</div><div class="ttdoc">show an info dialog </div></div>
<div class="ttc" id="classPointerVector_html_a594866129f2e9a3701c1f414ca3299e3"><div class="ttname"><a href="classPointerVector.html#a594866129f2e9a3701c1f414ca3299e3">PointerVector::begin</a></div><div class="ttdeci">std::vector&lt; T * &gt;::iterator begin()</div><div class="ttdef"><b>Definition:</b> <a href="pointervec_8h_source.html#l00083">pointervec.h:83</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a634c01cbbf932acc8115357f3967bd9e"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a634c01cbbf932acc8115357f3967bd9e">ShipCAD::Controller::showWaterlines</a></div><div class="ttdeci">void showWaterlines(bool)</div><div class="ttdoc">show waterlines </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01740">controller.cpp:1740</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_ae250dca383fa87327a0ea85c933af0d2"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#ae250dca383fa87327a0ea85c933af0d2">ShipCAD::SubdivisionSurface::deleteEmptyLayers</a></div><div class="ttdeci">size_t deleteEmptyLayers()</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l00999">subdivsurface.cpp:999</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionPoint_html_aa45c5c41ac1f66db924a8a1e2202b5ae"><div class="ttname"><a href="classShipCAD_1_1SubdivisionPoint.html#aa45c5c41ac1f66db924a8a1e2202b5ae">ShipCAD::SubdivisionPoint::getEdge</a></div><div class="ttdeci">SubdivisionEdge * getEdge(size_t index) const </div><div class="ttdef"><b>Definition:</b> <a href="subdivpoint_8cpp_source.html#l00088">subdivpoint.cpp:88</a></div></div>
<div class="ttc" id="classShipCAD_1_1Flowline_html"><div class="ttname"><a href="classShipCAD_1_1Flowline.html">ShipCAD::Flowline</a></div><div class="ttdef"><b>Definition:</b> <a href="flowline_8h_source.html#l00049">flowline.h:49</a></div></div>
<div class="ttc" id="classShipCAD_1_1Marker_html_ad3bbb4a01e11e3d2885f56599a77a3d1"><div class="ttname"><a href="classShipCAD_1_1Marker.html#ad3bbb4a01e11e3d2885f56599a77a3d1">ShipCAD::Marker::setSelected</a></div><div class="ttdeci">void setSelected(bool set)</div><div class="ttdef"><b>Definition:</b> <a href="marker_8cpp_source.html#l00160">marker.cpp:160</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_ab221977f2a8bd4d51d6ee777be0d7b8a"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#ab221977f2a8bd4d51d6ee777be0d7b8a">ShipCAD::ShipCADModel::setBuild</a></div><div class="ttdeci">void setBuild(bool set)</div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8cpp_source.html#l00173">shipcadmodel.cpp:173</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a619f8330daabbb575976910e7132c4d9"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a619f8330daabbb575976910e7132c4d9">ShipCAD::Controller::saveFileAs</a></div><div class="ttdeci">void saveFileAs(const QString &amp;filename)</div><div class="ttdoc">save a FREE!Ship file with given filename </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00821">controller.cpp:821</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a72c34ce03882c0bb27603cb69af988a6"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a72c34ce03882c0bb27603cb69af988a6">ShipCAD::Controller::autoGroupLayer</a></div><div class="ttdeci">void autoGroupLayer()</div><div class="ttdoc">all connected patches surrounded by creases grouped into new layer </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00999">controller.cpp:999</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_ac7684b3ff9abd0fa80f9ab0c95458a03"><div class="ttname"><a href="classShipCAD_1_1Controller.html#ac7684b3ff9abd0fa80f9ab0c95458a03">ShipCAD::Controller::stopMovePoint</a></div><div class="ttdeci">void stopMovePoint()</div><div class="ttdoc">method to call when point is no longer being dragged </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01424">controller.cpp:1424</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a1cb2acde5294656b3022d3e2029427e6"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a1cb2acde5294656b3022d3e2029427e6">ShipCAD::Controller::resetPreferences</a></div><div class="ttdeci">void resetPreferences()</div><div class="ttdoc">preferences dialog resets all preferences to default </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01880">controller.cpp:1880</a></div></div>
<div class="ttc" id="structShipCAD_1_1IntersectionsDialogData_html_a42e8714909a6cb3f20d4508e3ed3d7cd"><div class="ttname"><a href="structShipCAD_1_1IntersectionsDialogData.html#a42e8714909a6cb3f20d4508e3ed3d7cd">ShipCAD::IntersectionsDialogData::buttocks</a></div><div class="ttdeci">IntersectionVector buttocks</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00185">dialogdata.h:185</a></div></div>
<div class="ttc" id="undoobject_8h_html"><div class="ttname"><a href="undoobject_8h.html">undoobject.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_afc5654f671a17dd6672230648842975e"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#afc5654f671a17dd6672230648842975e">ShipCAD::ShipCADModel::getFlowline</a></div><div class="ttdeci">Flowline * getFlowline(size_t index)</div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8h_source.html#l00210">shipcadmodel.h:210</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a3a36570218825d074f256ee3650c5a8b"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a3a36570218825d074f256ee3650c5a8b">ShipCAD::Controller::exportCoordinates</a></div><div class="ttdeci">void exportCoordinates()</div><div class="ttdoc">export coordinates of controlpoints to a textfile </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00582">controller.cpp:582</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a35f446710a96c227f1794eacaef7ba6a"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a35f446710a96c227f1794eacaef7ba6a">ShipCAD::Controller::updateControlPointValue</a></div><div class="ttdeci">void updateControlPointValue(ShipCAD::SubdivisionControlPoint *pt)</div><div class="ttdoc">update the control point values </div></div>
<div class="ttc" id="exception_8h_html"><div class="ttname"><a href="exception_8h.html">exception.h</a></div></div>
<div class="ttc" id="classPointerVector_html_af28c2517157ddacfb4d92a4fc73c5a92"><div class="ttname"><a href="classPointerVector.html#af28c2517157ddacfb4d92a4fc73c5a92">PointerVector::get</a></div><div class="ttdeci">T * get(size_t index)</div><div class="ttdef"><b>Definition:</b> <a href="pointervec_8h_source.html#l00066">pointervec.h:66</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_af1267c2c5892ba0a6f34414e241f00ea"><div class="ttname"><a href="classShipCAD_1_1Controller.html#af1267c2c5892ba0a6f34414e241f00ea">ShipCAD::Controller::openBackgroundImage</a></div><div class="ttdeci">void openBackgroundImage()</div><div class="ttdoc">open a background image </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00110">controller.cpp:110</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionLayer_html_a22eacfdf763840d534d45b18b789f8c7"><div class="ttname"><a href="classShipCAD_1_1SubdivisionLayer.html#a22eacfdf763840d534d45b18b789f8c7">ShipCAD::SubdivisionLayer::getName</a></div><div class="ttdeci">QString getName() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivlayer_8cpp_source.html#l00074">subdivlayer.cpp:74</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_ac344c080c66b4394cb988cf88c726029"><div class="ttname"><a href="namespaceShipCAD.html#ac344c080c66b4394cb988cf88c726029">ShipCAD::DegToRad</a></div><div class="ttdeci">float DegToRad(float deg)</div><div class="ttdoc">convert degrees to radians </div><div class="ttdef"><b>Definition:</b> <a href="utility_8cpp_source.html#l00243">utility.cpp:243</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_ad4efe8ed2137a3ad3a2f87550c00b10a"><div class="ttname"><a href="classShipCAD_1_1Controller.html#ad4efe8ed2137a3ad3a2f87550c00b10a">ShipCAD::Controller::modifiedModel</a></div><div class="ttdeci">void modifiedModel()</div><div class="ttdoc">signal when model has changes </div></div>
<div class="ttc" id="classShipCAD_1_1Intersection_html"><div class="ttname"><a href="classShipCAD_1_1Intersection.html">ShipCAD::Intersection</a></div><div class="ttdoc">List of curves intersecting hull. </div><div class="ttdef"><b>Definition:</b> <a href="intersection_8h_source.html#l00058">intersection.h:58</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_afc2bffed2e3f9189c40fb6a05039672d"><div class="ttname"><a href="classShipCAD_1_1Controller.html#afc2bffed2e3f9189c40fb6a05039672d">ShipCAD::Controller::showChooseLayerDialog</a></div><div class="ttdeci">bool showChooseLayerDialog(ShipCAD::LayerSelectMode mode)</div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00301">controller.cpp:301</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_aa33036772c52e52368b5cc4ebfbbe487"><div class="ttname"><a href="classShipCAD_1_1Controller.html#aa33036772c52e52368b5cc4ebfbbe487">ShipCAD::Controller::exeIntersectLayersDialog</a></div><div class="ttdeci">void exeIntersectLayersDialog(ShipCAD::IntersectLayersDialogData &amp;data)</div><div class="ttdoc">execute the Intersect Layers dialog </div></div>
<div class="ttc" id="subdivpoint_8h_html"><div class="ttname"><a href="subdivpoint_8h.html">subdivpoint.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_ac1b60be4b08de357c6a1aa0f8e1c0a9b"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#ac1b60be4b08de357c6a1aa0f8e1c0a9b">ShipCAD::ShipCADModel::moveFaces</a></div><div class="ttdeci">void moveFaces(std::vector&lt; SubdivisionControlPoint * &gt; &amp;points, const QVector3D &amp;vec, bool adjust_markers)</div><div class="ttdoc">move selected faces and all associated data </div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8cpp_source.html#l00812">shipcadmodel.cpp:812</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_abf8b8f77097b24be87696d15273611bd"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#abf8b8f77097b24be87696d15273611bd">ShipCAD::SubdivisionSurface::getSelControlPointCollection</a></div><div class="ttdeci">OrderedPointMap &amp; getSelControlPointCollection()</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00205">subdivsurface.h:205</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionBase_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionBase.html">ShipCAD::SubdivisionBase</a></div><div class="ttdoc">the base class for all subdivision points, edges and faces </div><div class="ttdef"><b>Definition:</b> <a href="subdivbase_8h_source.html#l00045">subdivbase.h:45</a></div></div>
<div class="ttc" id="classOrderedPointMap_html_a17d63e3732a91baa412fd265d18ac7c1"><div class="ttname"><a href="classOrderedPointMap.html#a17d63e3732a91baa412fd265d18ac7c1">OrderedPointMap::size</a></div><div class="ttdeci">size_t size() const </div><div class="ttdef"><b>Definition:</b> <a href="orderedmap_8h_source.html#l00131">orderedmap.h:131</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a0255f1b79a48aa8156e078bc7bcc8cf9"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a0255f1b79a48aa8156e078bc7bcc8cf9">ShipCAD::Controller::exeChooseLayerDialog</a></div><div class="ttdeci">void exeChooseLayerDialog(ShipCAD::ChooseLayerDialogData &amp;data)</div><div class="ttdoc">execute the Choose layer dialog </div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a3db63580c7b845824545c393a4f3406a"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a3db63580c7b845824545c393a4f3406a">ShipCAD::Controller::exeNewModelDialog</a></div><div class="ttdeci">void exeNewModelDialog(ShipCAD::NewModelDialogData &amp;data)</div><div class="ttdoc">execute the new model dialog </div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_afe13cf557e067ae883433aa6f5afaf6a"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#afe13cf557e067ae883433aa6f5afaf6a">ShipCAD::ShipCADModel::getActiveControlPoint</a></div><div class="ttdeci">SubdivisionControlPoint * getActiveControlPoint() const </div><div class="ttdoc">get the active control point </div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8h_source.html#l00130">shipcadmodel.h:130</a></div></div>
<div class="ttc" id="structShipCAD_1_1RotateDialogData_html_a53bd3533c7fd9e82d9298cbba080a430"><div class="ttname"><a href="structShipCAD_1_1RotateDialogData.html#a53bd3533c7fd9e82d9298cbba080a430">ShipCAD::RotateDialogData::rotation_vector</a></div><div class="ttdeci">QVector3D rotation_vector</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00163">dialogdata.h:163</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_aa663e1b23df9ee100def2c4ddd7cd125"><div class="ttname"><a href="classShipCAD_1_1Controller.html#aa663e1b23df9ee100def2c4ddd7cd125">ShipCAD::Controller::exportFacesDXF</a></div><div class="ttdeci">void exportFacesDXF()</div><div class="ttdoc">export all faces to a 3D DXF file </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00597">controller.cpp:597</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_a5ada95979a3d66b792b394f7c065b1fd"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#a5ada95979a3d66b792b394f7c065b1fd">ShipCAD::Visibility::isShowWaterlines</a></div><div class="ttdeci">bool isShowWaterlines() const </div><div class="ttdoc">show visiblity of waterlines </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8h_source.html#l00207">visibility.h:207</a></div></div>
<div class="ttc" id="classShipCAD_1_1Plane_html_aab7d46cba75a32089644b183e0a82dff"><div class="ttname"><a href="classShipCAD_1_1Plane.html#aab7d46cba75a32089644b183e0a82dff">ShipCAD::Plane::setB</a></div><div class="ttdeci">void setB(float val)</div><div class="ttdef"><b>Definition:</b> <a href="plane_8h_source.html#l00062">plane.h:62</a></div></div>
<div class="ttc" id="classShipCAD_1_1Marker_html_a505a790bb39356858ecf59513a76ec95"><div class="ttname"><a href="classShipCAD_1_1Marker.html#a505a790bb39356858ecf59513a76ec95">ShipCAD::Marker::isVisible</a></div><div class="ttdeci">bool isVisible() const </div><div class="ttdef"><b>Definition:</b> <a href="marker_8h_source.html#l00062">marker.h:62</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionLayer_html_ab2d11ebf60ad6edd818eb0c42971946c"><div class="ttname"><a href="classShipCAD_1_1SubdivisionLayer.html#ab2d11ebf60ad6edd818eb0c42971946c">ShipCAD::SubdivisionLayer::calculateIntersectionPoints</a></div><div class="ttdeci">bool calculateIntersectionPoints(SubdivisionLayer *layer)</div><div class="ttdef"><b>Definition:</b> <a href="subdivlayer_8cpp_source.html#l00322">subdivlayer.cpp:322</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a014673c39abcced0285f8df64842918e"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a014673c39abcced0285f8df64842918e">ShipCAD::Controller::collapsePoint</a></div><div class="ttdeci">void collapsePoint()</div><div class="ttdoc">merge 2 selected edges by removing common controlpoint </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01232">controller.cpp:1232</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_a57b601879f10927beb3d466c211e6ee6"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#a57b601879f10927beb3d466c211e6ee6">ShipCAD::Visibility::setShowGrid</a></div><div class="ttdeci">void setShowGrid(bool show)</div><div class="ttdoc">set visibility of grid </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8cpp_source.html#l00221">visibility.cpp:221</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_aef09d950b0970bd825a984effeee6224"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#aef09d950b0970bd825a984effeee6224">ShipCAD::SubdivisionSurface::removeSelectedControlFace</a></div><div class="ttdeci">void removeSelectedControlFace(SubdivisionControlFace *face)</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l01330">subdivsurface.cpp:1330</a></div></div>
<div class="ttc" id="classShipCAD_1_1Viewport_html"><div class="ttname"><a href="classShipCAD_1_1Viewport.html">ShipCAD::Viewport</a></div><div class="ttdef"><b>Definition:</b> <a href="viewport_8h_source.html#l00070">viewport.h:70</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a31cd6dcb665c21c1626599d57ae73684"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a31cd6dcb665c21c1626599d57ae73684">ShipCAD::ShipCADModel::undo</a></div><div class="ttdeci">void undo()</div><div class="ttdoc">undo the last operation </div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8cpp_source.html#l00394">shipcadmodel.cpp:394</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_aa3a7f9085a4bce34e7c28c222d61f9dc"><div class="ttname"><a href="classShipCAD_1_1Controller.html#aa3a7f9085a4bce34e7c28c222d61f9dc">ShipCAD::Controller::layerFacesSelected</a></div><div class="ttdeci">void layerFacesSelected(ShipCAD::SubdivisionLayer *layer)</div><div class="ttdoc">select all faces in a layer </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01963">controller.cpp:1963</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_aed43429330b5062ddb98372406a02d2d"><div class="ttname"><a href="classShipCAD_1_1Controller.html#aed43429330b5062ddb98372406a02d2d">ShipCAD::Controller::insertPlane</a></div><div class="ttdeci">void insertPlane()</div><div class="ttdoc">fill all intersection of visible edges and 3D plane, inserts a point on each of these edges ...</div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01287">controller.cpp:1287</a></div></div>
<div class="ttc" id="classShipCAD_1_1ParseError_html"><div class="ttname"><a href="classShipCAD_1_1ParseError.html">ShipCAD::ParseError</a></div><div class="ttdef"><b>Definition:</b> <a href="exception_8h_source.html#l00039">exception.h:39</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_acdb404d69222d41c55b4358ef844cd8f"><div class="ttname"><a href="classShipCAD_1_1Controller.html#acdb404d69222d41c55b4358ef844cd8f">ShipCAD::Controller::newModel</a></div><div class="ttdeci">void newModel()</div><div class="ttdoc">start a new model (with a predefined surface) </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01213">controller.cpp:1213</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_af86e9dc7208c8ffcacfae13ce3eae2c8"><div class="ttname"><a href="classShipCAD_1_1Controller.html#af86e9dc7208c8ffcacfae13ce3eae2c8">ShipCAD::Controller::exportMichlet</a></div><div class="ttdeci">void exportMichlet()</div><div class="ttdoc">export file for CFD program Michlet </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00635">controller.cpp:635</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a2c3339b26ab0856a66720e370523d80c"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a2c3339b26ab0856a66720e370523d80c">ShipCAD::Controller::showControlCurves</a></div><div class="ttdeci">void showControlCurves(bool val)</div><div class="ttdoc">show control curves </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01657">controller.cpp:1657</a></div></div>
<div class="ttc" id="classPointerVector_html"><div class="ttname"><a href="classPointerVector.html">PointerVector&lt; Spline &gt;</a></div></div>
<div class="ttc" id="viewportview_8h_html"><div class="ttname"><a href="viewportview_8h.html">viewportview.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a5ff6228a1b2fd0400ba51a8ab7ee01a8"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a5ff6228a1b2fd0400ba51a8ab7ee01a8">ShipCAD::Controller::deleteNegativeFaces</a></div><div class="ttdeci">void deleteNegativeFaces()</div><div class="ttdoc">delete all faces on the starboard side of the hull </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00279">controller.cpp:279</a></div></div>
<div class="ttc" id="structShipCAD_1_1IntersectionsDialogData_html_ac2a5677d64845ff41b99f05f590170f8"><div class="ttname"><a href="structShipCAD_1_1IntersectionsDialogData.html#ac2a5677d64845ff41b99f05f590170f8">ShipCAD::IntersectionsDialogData::intersection_offsets</a></div><div class="ttdeci">std::vector&lt; float &gt; intersection_offsets</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00177">dialogdata.h:177</a></div></div>
<div class="ttc" id="structShipCAD_1_1SurfaceCheckResult_html"><div class="ttname"><a href="structShipCAD_1_1SurfaceCheckResult.html">ShipCAD::SurfaceCheckResult</a></div><div class="ttdoc">used to collect statistics when doing the model check </div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00199">shipcadlib.h:199</a></div></div>
<div class="ttc" id="structShipCAD_1_1ProjectSettingsDialogData_html"><div class="ttname"><a href="structShipCAD_1_1ProjectSettingsDialogData.html">ShipCAD::ProjectSettingsDialogData</a></div><div class="ttdoc">project settings dialog exchange </div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00237">dialogdata.h:237</a></div></div>
<div class="ttc" id="structShipCAD_1_1MirrorDialogData_html_a4e17198aa242bba6426a2b28840ceca5"><div class="ttname"><a href="structShipCAD_1_1MirrorDialogData.html#a4e17198aa242bba6426a2b28840ceca5">ShipCAD::MirrorDialogData::which_plane</a></div><div class="ttdeci">plane_selected_t which_plane</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00150">dialogdata.h:150</a></div></div>
<div class="ttc" id="structShipCAD_1_1PickRay_html"><div class="ttname"><a href="structShipCAD_1_1PickRay.html">ShipCAD::PickRay</a></div><div class="ttdoc">a pick ray (line) </div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00171">shipcadlib.h:171</a></div></div>
<div class="ttc" id="structShipCAD_1_1IntersectionsDialogData_html_ae423b73a2c8644594ac4c7f56125af9f"><div class="ttname"><a href="structShipCAD_1_1IntersectionsDialogData.html#ae423b73a2c8644594ac4c7f56125af9f">ShipCAD::IntersectionsDialogData::delete_all_intersections</a></div><div class="ttdeci">bool delete_all_intersections</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00179">dialogdata.h:179</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a97a0dfdd229e0d7e0e7d5995dd9095a3"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a97a0dfdd229e0d7e0e7d5995dd9095a3">ShipCAD::Controller::selectAll</a></div><div class="ttdeci">void selectAll()</div><div class="ttdoc">select all items </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01566">controller.cpp:1566</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_a949bc53a1634b268b43de672807480fb"><div class="ttname"><a href="namespaceShipCAD.html#a949bc53a1634b268b43de672807480fb">ShipCAD::ZERO</a></div><div class="ttdeci">const QVector3D ZERO</div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a8e45334c9b25b8241ef4af126f6d5cc0"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a8e45334c9b25b8241ef4af126f6d5cc0">ShipCAD::Controller::crossCurvesHydrostatics</a></div><div class="ttdeci">void crossCurvesHydrostatics()</div><div class="ttdoc">calculate crosscurves </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00852">controller.cpp:852</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_adae35f2eb31f5d468674ab9856a39637"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#adae35f2eb31f5d468674ab9856a39637">ShipCAD::Visibility::isShowMarkers</a></div><div class="ttdeci">bool isShowMarkers() const </div><div class="ttdoc">show visibility of markers </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8h_source.html#l00174">visibility.h:174</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a0e417496c41f507d2287ba9183745260"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a0e417496c41f507d2287ba9183745260">ShipCAD::Controller::layerFacesSelection</a></div><div class="ttdeci">void layerFacesSelection(ShipCAD::SubdivisionLayer *layer, bool selected)</div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01974">controller.cpp:1974</a></div></div>
<div class="ttc" id="structShipCAD_1_1IntersectionsDialogData_html_a15b25bd4167a7eb4bc24240f98ec83ad"><div class="ttname"><a href="structShipCAD_1_1IntersectionsDialogData.html#a15b25bd4167a7eb4bc24240f98ec83ad">ShipCAD::IntersectionsDialogData::stations</a></div><div class="ttdeci">IntersectionVector stations</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00183">dialogdata.h:183</a></div></div>
<div class="ttc" id="subdivedge_8h_html"><div class="ttname"><a href="subdivedge_8h.html">subdivedge.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a61d8a1d0d26a123ef81527ba32932bd2"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a61d8a1d0d26a123ef81527ba32932bd2">ShipCAD::Controller::modelLoaded</a></div><div class="ttdeci">void modelLoaded()</div><div class="ttdoc">signal when new model loaded </div></div>
<div class="ttc" id="structShipCAD_1_1ExtrudeEdgeDialogData_html_acacc5c53abda4c79c30f52d96de6d1f9"><div class="ttname"><a href="structShipCAD_1_1ExtrudeEdgeDialogData.html#acacc5c53abda4c79c30f52d96de6d1f9">ShipCAD::ExtrudeEdgeDialogData::accepted</a></div><div class="ttdeci">bool accepted</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00071">dialogdata.h:71</a></div></div>
<div class="ttc" id="classShipCAD_1_1ProjectSettings_html_ab9197d79f0b8bd2657d55507a541b154"><div class="ttname"><a href="classShipCAD_1_1ProjectSettings.html#ab9197d79f0b8bd2657d55507a541b154">ShipCAD::ProjectSettings::copy_from_dialog</a></div><div class="ttdeci">void copy_from_dialog(ProjectSettings &amp;dialog_state)</div><div class="ttdef"><b>Definition:</b> <a href="projsettings_8cpp_source.html#l00536">projsettings.cpp:536</a></div></div>
<div class="ttc" id="structShipCAD_1_1IntersectionsDialogData_html_a07f300ae3f6ec124a932ac88d7380194"><div class="ttname"><a href="structShipCAD_1_1IntersectionsDialogData.html#a07f300ae3f6ec124a932ac88d7380194">ShipCAD::IntersectionsDialogData::add_range</a></div><div class="ttdeci">bool add_range</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00178">dialogdata.h:178</a></div></div>
<div class="ttc" id="classShipCAD_1_1Preferences_html_ae2139f76ba4038b4e713ca75dcb8157e"><div class="ttname"><a href="classShipCAD_1_1Preferences.html#ae2139f76ba4038b4e713ca75dcb8157e">ShipCAD::Preferences::clear</a></div><div class="ttdeci">void clear()</div><div class="ttdef"><b>Definition:</b> <a href="preferences_8cpp_source.html#l00045">preferences.cpp:45</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a64c7c4ddffffdd1be2f27eb4210af2b7"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a64c7c4ddffffdd1be2f27eb4210af2b7">ShipCAD::ShipCADModel::saveBinary</a></div><div class="ttdeci">void saveBinary(FileBuffer &amp;dest)</div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8cpp_source.html#l01020">shipcadmodel.cpp:1020</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_ac7f369ecf1a53a751f8774263d3ecd95"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#ac7f369ecf1a53a751f8774263d3ecd95">ShipCAD::ShipCADModel::redo</a></div><div class="ttdeci">void redo()</div><div class="ttdoc">redo the last undo </div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8cpp_source.html#l00420">shipcadmodel.cpp:420</a></div></div>
<div class="ttc" id="structShipCAD_1_1SurfaceCheckResult_html_a781d013ead5911ba9646334c00686985"><div class="ttname"><a href="structShipCAD_1_1SurfaceCheckResult.html#a781d013ead5911ba9646334c00686985">ShipCAD::SurfaceCheckResult::non_manifold</a></div><div class="ttdeci">size_t non_manifold</div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00201">shipcadlib.h:201</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_ae37d12b77bce8119a3562aba8e5b7ef0"><div class="ttname"><a href="classShipCAD_1_1Controller.html#ae37d12b77bce8119a3562aba8e5b7ef0">ShipCAD::Controller::displayQuestionDialog</a></div><div class="ttdeci">void displayQuestionDialog(const QString &amp;msg, bool &amp;ok)</div><div class="ttdoc">show an question dialog, get a boolean response </div></div>
<div class="ttc" id="classShipCAD_1_1FileSaveError_html"><div class="ttname"><a href="classShipCAD_1_1FileSaveError.html">ShipCAD::FileSaveError</a></div><div class="ttdef"><b>Definition:</b> <a href="exception_8h_source.html#l00053">exception.h:53</a></div></div>
<div class="ttc" id="structShipCAD_1_1NewModelDialogData_html_aff4f1f738dfe7457456bd1e2d0e4f37e"><div class="ttname"><a href="structShipCAD_1_1NewModelDialogData.html#aff4f1f738dfe7457456bd1e2d0e4f37e">ShipCAD::NewModelDialogData::accepted</a></div><div class="ttdeci">bool accepted</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00197">dialogdata.h:197</a></div></div>
<div class="ttc" id="structShipCAD_1_1PickRay_html_a5b5dbf3de2afc804978a5e35ac582028"><div class="ttname"><a href="structShipCAD_1_1PickRay.html#a5b5dbf3de2afc804978a5e35ac582028">ShipCAD::PickRay::multi_sel</a></div><div class="ttdeci">bool multi_sel</div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00176">shipcadlib.h:176</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_aeb55fe16b48f14b00c179e95a0372a17"><div class="ttname"><a href="classShipCAD_1_1Controller.html#aeb55fe16b48f14b00c179e95a0372a17">ShipCAD::Controller::redo</a></div><div class="ttdeci">void redo()</div><div class="ttdoc">restore the state of the model after previous undo </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01605">controller.cpp:1605</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a859625224375157010421a69f96ec639"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a859625224375157010421a69f96ec639">ShipCAD::ShipCADModel::countSelectedItems</a></div><div class="ttdeci">size_t countSelectedItems() const </div><div class="ttdoc">count the number of currently selected items </div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8cpp_source.html#l00239">shipcadmodel.cpp:239</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionPoint_html_a614259dfa2470bbbd7b8cc73039ad501"><div class="ttname"><a href="classShipCAD_1_1SubdivisionPoint.html#a614259dfa2470bbbd7b8cc73039ad501">ShipCAD::SubdivisionPoint::setVertexType</a></div><div class="ttdeci">void setVertexType(vertex_type_t nt)</div><div class="ttdef"><b>Definition:</b> <a href="subdivpoint_8h_source.html#l00170">subdivpoint.h:170</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_aff36c67432f7527fccad4b0b90c226a9"><div class="ttname"><a href="classShipCAD_1_1Controller.html#aff36c67432f7527fccad4b0b90c226a9">ShipCAD::Controller::exportIGES</a></div><div class="ttdeci">void exportIGES()</div><div class="ttdoc">export an IGES file </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00640">controller.cpp:640</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_aaf39d00fed33f46dea7d5f6a8b5839f1"><div class="ttname"><a href="classShipCAD_1_1Controller.html#aaf39d00fed33f46dea7d5f6a8b5839f1">ShipCAD::Controller::projectStraightLinePoint</a></div><div class="ttdeci">void projectStraightLinePoint()</div><div class="ttdoc">project all selected points onto a straight line through the first and last </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01430">controller.cpp:1430</a></div></div>
<div class="ttc" id="structShipCAD_1_1IntersectLayersDialogData_html_a2a06240ead3bc2d61dbc5bb3eb21ea99"><div class="ttname"><a href="structShipCAD_1_1IntersectLayersDialogData.html#a2a06240ead3bc2d61dbc5bb3eb21ea99">ShipCAD::IntersectLayersDialogData::layer1</a></div><div class="ttdeci">size_t layer1</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00060">dialogdata.h:60</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_a04cd6f732b4334070aef1f43b457d472"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#a04cd6f732b4334070aef1f43b457d472">ShipCAD::Visibility::setShowMarkers</a></div><div class="ttdeci">void setShowMarkers(bool show)</div><div class="ttdoc">set visiblity of markers </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8cpp_source.html#l00205">visibility.cpp:205</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_ac7aabbfcf700269dc82610c73a129c03"><div class="ttname"><a href="classShipCAD_1_1Controller.html#ac7aabbfcf700269dc82610c73a129c03">ShipCAD::Controller::moveFaces</a></div><div class="ttdeci">void moveFaces()</div><div class="ttdoc">move selected faces </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00536">controller.cpp:536</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a5b83cea66e4de67cd7fd11df307b948d"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a5b83cea66e4de67cd7fd11df307b948d">ShipCAD::Controller::cornerPointSelected</a></div><div class="ttdeci">void cornerPointSelected(bool sel)</div><div class="ttdoc">corner point selected/deselected </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01912">controller.cpp:1912</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_ae09ac41e86659fab53e236f27f2ca761"><div class="ttname"><a href="classShipCAD_1_1Controller.html#ae09ac41e86659fab53e236f27f2ca761">ShipCAD::Controller::shootPickRay</a></div><div class="ttdeci">bool shootPickRay(Viewport &amp;vp, const PickRay &amp;ray)</div><div class="ttdoc">shoot a pick ray, change items to selected </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00063">controller.cpp:63</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlPoint_html_adc189f3e5cff85ecd1a59356e0f7d63d"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlPoint.html#adc189f3e5cff85ecd1a59356e0f7d63d">ShipCAD::SubdivisionControlPoint::construct</a></div><div class="ttdeci">static SubdivisionControlPoint * construct(SubdivisionSurface *owner)</div><div class="ttdef"><b>Definition:</b> <a href="subdivpoint_8cpp_source.html#l00528">subdivpoint.cpp:528</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a9a8b6fae50e279373d795f654de16e60"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a9a8b6fae50e279373d795f654de16e60">ShipCAD::Controller::exeMirrorDialog</a></div><div class="ttdeci">void exeMirrorDialog(ShipCAD::MirrorDialogData &amp;data)</div><div class="ttdoc">execute the Mirror dialog </div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_a78971bef725cdc53fa600589d68b628a"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#a78971bef725cdc53fa600589d68b628a">ShipCAD::Visibility::setShowNormals</a></div><div class="ttdeci">void setShowNormals(bool show)</div><div class="ttdoc">set visibility of normals </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8cpp_source.html#l00196">visibility.cpp:196</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_af88f847dc1803cadbeb655783961dbfd"><div class="ttname"><a href="namespaceShipCAD.html#af88f847dc1803cadbeb655783961dbfd">ShipCAD::RotateVector</a></div><div class="ttdeci">QVector3D RotateVector(const QVector3D &amp;coord, double sinx, double cosx, double siny, double cosy, double sinz, double cosz)</div><div class="ttdoc">rotate a vector </div><div class="ttdef"><b>Definition:</b> <a href="utility_8cpp_source.html#l00645">utility.cpp:645</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a42d9eb4cf3864ca9057bfa45c1c80d40"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a42d9eb4cf3864ca9057bfa45c1c80d40">ShipCAD::Controller::removeUnusedPoint</a></div><div class="ttdeci">void removeUnusedPoint()</div><div class="ttdoc">remove any unused points from the model </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01259">controller.cpp:1259</a></div></div>
<div class="ttc" id="structShipCAD_1_1InsertPlaneDialogData_html"><div class="ttname"><a href="structShipCAD_1_1InsertPlaneDialogData.html">ShipCAD::InsertPlaneDialogData</a></div><div class="ttdoc">insert plane dialog exchange </div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00041">dialogdata.h:41</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a8a9682720550170236c353d011d06313"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a8a9682720550170236c353d011d06313">ShipCAD::SubdivisionSurface::collapseControlPoint</a></div><div class="ttdeci">void collapseControlPoint(SubdivisionControlPoint *point)</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l00248">subdivsurface.cpp:248</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlFace_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlFace.html">ShipCAD::SubdivisionControlFace</a></div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00219">subdivface.h:219</a></div></div>
<div class="ttc" id="classShipCAD_1_1UndoObject_html"><div class="ttname"><a href="classShipCAD_1_1UndoObject.html">ShipCAD::UndoObject</a></div><div class="ttdef"><b>Definition:</b> <a href="undoobject_8h_source.html#l00044">undoobject.h:44</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlFace_html_a25e4ea676adc327a430b50a81e91ef9d"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlFace.html#a25e4ea676adc327a430b50a81e91ef9d">ShipCAD::SubdivisionControlFace::getLayer</a></div><div class="ttdeci">SubdivisionLayer * getLayer() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00307">subdivface.h:307</a></div></div>
<div class="ttc" id="subdivlayer_8h_html"><div class="ttname"><a href="subdivlayer_8h.html">subdivlayer.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_afa9ae51a7f178d93fe7d6b12ea5a4e63"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#afa9ae51a7f178d93fe7d6b12ea5a4e63">ShipCAD::Visibility::isShowDiagonals</a></div><div class="ttdeci">bool isShowDiagonals() const </div><div class="ttdoc">show visibility of diagonals </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8h_source.html#l00119">visibility.h:119</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a23fcec4dbb0650c37519b908c63b58ee"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a23fcec4dbb0650c37519b908c63b58ee">ShipCAD::SubdivisionSurface::autoGroupFaces</a></div><div class="ttdeci">bool autoGroupFaces()</div><div class="ttdoc">group faces </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l00852">subdivsurface.cpp:852</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_abc5faaa00b4b34bc1b0b1cd52af4ab3b"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#abc5faaa00b4b34bc1b0b1cd52af4ab3b">ShipCAD::ShipCADModel::getMarkers</a></div><div class="ttdeci">MarkerVector &amp; getMarkers()</div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8h_source.html#l00198">shipcadmodel.h:198</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_a67c7c1987fcd221ab15b2353bdb22d49"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#a67c7c1987fcd221ab15b2353bdb22d49">ShipCAD::Visibility::setShowHydrostaticData</a></div><div class="ttdeci">void setShowHydrostaticData(bool show)</div><div class="ttdoc">set visibility of Hydrostatic data </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8cpp_source.html#l00253">visibility.cpp:253</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a55278e6857b17ee49ed484430071159b"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a55278e6857b17ee49ed484430071159b">ShipCAD::Controller::addOrDeleteIntersections</a></div><div class="ttdeci">void addOrDeleteIntersections(ShipCAD::IntersectionsDialogData *data)</div><div class="ttdoc">add new intersections created in dialog </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00870">controller.cpp:870</a></div></div>
<div class="ttc" id="structShipCAD_1_1IntersectLayersDialogData_html_ad138f2eea90f7bac0a9c331375b1704a"><div class="ttname"><a href="structShipCAD_1_1IntersectLayersDialogData.html#ad138f2eea90f7bac0a9c331375b1704a">ShipCAD::IntersectLayersDialogData::layer2</a></div><div class="ttdeci">size_t layer2</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00061">dialogdata.h:61</a></div></div>
<div class="ttc" id="structShipCAD_1_1InsertPlaneDialogData_html_a5b818074e9cca09e900e627fc9fc6e5c"><div class="ttname"><a href="structShipCAD_1_1InsertPlaneDialogData.html#a5b818074e9cca09e900e627fc9fc6e5c">ShipCAD::InsertPlaneDialogData::accepted</a></div><div class="ttdeci">bool accepted</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00043">dialogdata.h:43</a></div></div>
<div class="ttc" id="structShipCAD_1_1NewModelDialogData_html"><div class="ttname"><a href="structShipCAD_1_1NewModelDialogData.html">ShipCAD::NewModelDialogData</a></div><div class="ttdoc">new model dialog exchange </div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00195">dialogdata.h:195</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a8713ccaf7dccce2284dd86c9b7aa9bc0"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a8713ccaf7dccce2284dd86c9b7aa9bc0">ShipCAD::Controller::connectEdges</a></div><div class="ttdeci">void connectEdges()</div><div class="ttdoc">create a new edge by connecting 2 points belonging to the same face </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00166">controller.cpp:166</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionLayer_html_a2e1538a000268fe5f56bf2bea4973c23"><div class="ttname"><a href="classShipCAD_1_1SubdivisionLayer.html#a2e1538a000268fe5f56bf2bea4973c23">ShipCAD::SubdivisionLayer::getFace</a></div><div class="ttdeci">SubdivisionControlFace * getFace(size_t index)</div><div class="ttdef"><b>Definition:</b> <a href="subdivlayer_8cpp_source.html#l00083">subdivlayer.cpp:83</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a1b27573aab3a458f9002a7e4e327736a"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a1b27573aab3a458f9002a7e4e327736a">ShipCAD::ShipCADModel::rebuildModel</a></div><div class="ttdeci">void rebuildModel(bool redo_intersections)</div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8cpp_source.html#l00192">shipcadmodel.cpp:192</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_a742f9cd95e62e207769e17467ecd5bb7a033d1219796735edf6dbe71c266566ad"><div class="ttname"><a href="namespaceShipCAD.html#a742f9cd95e62e207769e17467ecd5bb7a033d1219796735edf6dbe71c266566ad">ShipCAD::mvPort</a></div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00157">shipcadlib.h:157</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_ab3698ec4918b622cba53a33f96c57e73"><div class="ttname"><a href="classShipCAD_1_1Controller.html#ab3698ec4918b622cba53a33f96c57e73">ShipCAD::Controller::extrudeEdges</a></div><div class="ttdeci">void extrudeEdges()</div><div class="ttdoc">extrude selected boundary edge </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00201">controller.cpp:201</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_aa0f3f220e102a298d2e698af90f5e1fca57120f6bafe4097088113cc547769d44"><div class="ttname"><a href="namespaceShipCAD.html#aa0f3f220e102a298d2e698af90f5e1fca57120f6bafe4097088113cc547769d44">ShipCAD::horizontal</a></div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00163">shipcadlib.h:163</a></div></div>
<div class="ttc" id="structShipCAD_1_1ProjectSettingsDialogData_html_aff0488765c1046abba0e553540480495"><div class="ttname"><a href="structShipCAD_1_1ProjectSettingsDialogData.html#aff0488765c1046abba0e553540480495">ShipCAD::ProjectSettingsDialogData::accepted</a></div><div class="ttdeci">bool accepted</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00239">dialogdata.h:239</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_ade9cac86770927d571fa8015093b21a0"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#ade9cac86770927d571fa8015093b21a0">ShipCAD::SubdivisionSurface::numberOfControlCurves</a></div><div class="ttdeci">size_t numberOfControlCurves() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00269">subdivsurface.h:269</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a86da3ca66e90403ead21ccc67f584c52"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a86da3ca66e90403ead21ccc67f584c52">ShipCAD::ShipCADModel::getStations</a></div><div class="ttdeci">IntersectionVector &amp; getStations()</div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8h_source.html#l00154">shipcadmodel.h:154</a></div></div>
<div class="ttc" id="classShipCAD_1_1FileBuffer_html"><div class="ttname"><a href="classShipCAD_1_1FileBuffer.html">ShipCAD::FileBuffer</a></div><div class="ttdoc">in-memory buffer for a binary file (FREE!Ship format) </div><div class="ttdef"><b>Definition:</b> <a href="filebuffer_8h_source.html#l00052">filebuffer.h:52</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_a2ce6cd0c56750e6638b5e195e6bc5590"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#a2ce6cd0c56750e6638b5e195e6bc5590">ShipCAD::Visibility::setShowInteriorEdges</a></div><div class="ttdeci">void setShowInteriorEdges(bool show)</div><div class="ttdoc">set visibility of interior edges </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8cpp_source.html#l00169">visibility.cpp:169</a></div></div>
<div class="ttc" id="structShipCAD_1_1InsertPlaneDialogData_html_aa028c61547384932261d4a8b647f9eeb"><div class="ttname"><a href="structShipCAD_1_1InsertPlaneDialogData.html#aa028c61547384932261d4a8b647f9eeb">ShipCAD::InsertPlaneDialogData::planeSelected</a></div><div class="ttdeci">plane_selected_t planeSelected</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00045">dialogdata.h:45</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a429e378ef93bf0ec59c7dac048d4b100"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a429e378ef93bf0ec59c7dac048d4b100">ShipCAD::Controller::showStations</a></div><div class="ttdeci">void showStations(bool val)</div><div class="ttdoc">show stations </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01718">controller.cpp:1718</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_aa56834b730aafdf2786ddc9a60a046fda44c99d1edb96c2c22b5661d927eb9041"><div class="ttname"><a href="namespaceShipCAD.html#aa56834b730aafdf2786ddc9a60a046fda44c99d1edb96c2c22b5661d927eb9041">ShipCAD::fiWaterline</a></div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00114">shipcadlib.h:114</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a0e9a74dd26baa734437aba2ee05fa940"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a0e9a74dd26baa734437aba2ee05fa940">ShipCAD::ShipCADModel::createUndo</a></div><div class="ttdeci">UndoObject * createUndo(const QString &amp;undotext, bool accept)</div><div class="ttdoc">create an undo object </div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8cpp_source.html#l00281">shipcadmodel.cpp:281</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_ae13c7e36dfb1e2300741a631041cd915"><div class="ttname"><a href="namespaceShipCAD.html#ae13c7e36dfb1e2300741a631041cd915">ShipCAD::precision_t</a></div><div class="ttdeci">precision_t</div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00128">shipcadlib.h:128</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_abbbb7422a86771451034d2fb7a76bb26"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#abbbb7422a86771451034d2fb7a76bb26">ShipCAD::SubdivisionSurface::addControlFace</a></div><div class="ttdeci">void addControlFace(SubdivisionControlFace *face)</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l01166">subdivsurface.cpp:1166</a></div></div>
<div class="ttc" id="structShipCAD_1_1MirrorDialogData_html"><div class="ttname"><a href="structShipCAD_1_1MirrorDialogData.html">ShipCAD::MirrorDialogData</a></div><div class="ttdoc">mirror dialog exchange </div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00146">dialogdata.h:146</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_a03171cc921c53a568b778f5131a60deb"><div class="ttname"><a href="namespaceShipCAD.html#a03171cc921c53a568b778f5131a60deb">ShipCAD::vertex_type_t</a></div><div class="ttdeci">vertex_type_t</div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00139">shipcadlib.h:139</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a94a8eed8ac8ff4ad8287a0a1113e3271"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a94a8eed8ac8ff4ad8287a0a1113e3271">ShipCAD::ShipCADModel::getProjectSettings</a></div><div class="ttdeci">ProjectSettings &amp; getProjectSettings()</div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8h_source.html#l00076">shipcadmodel.h:76</a></div></div>
<div class="ttc" id="classOrderedPointMapIterator_html"><div class="ttname"><a href="classOrderedPointMapIterator.html">OrderedPointMapIterator</a></div><div class="ttdoc">Iterator for OrderedPointMap. </div><div class="ttdef"><b>Definition:</b> <a href="orderedmap_8h_source.html#l00049">orderedmap.h:49</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_ac26190e7d9525c0e93ddef2479966800"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#ac26190e7d9525c0e93ddef2479966800">ShipCAD::SubdivisionSurface::addControlCurves</a></div><div class="ttdeci">void addControlCurves(std::vector&lt; SubdivisionControlEdge * &gt; &amp;edges)</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l01580">subdivsurface.cpp:1580</a></div></div>
<div class="ttc" id="classOrderedPointMap_html"><div class="ttname"><a href="classOrderedPointMap.html">OrderedPointMap</a></div><div class="ttdoc">Collection of SubdivisionControlPoints and associated index. </div><div class="ttdef"><b>Definition:</b> <a href="orderedmap_8h_source.html#l00120">orderedmap.h:120</a></div></div>
<div class="ttc" id="classPointerVector_html_a6182f5429c4c98ba2556d40484aab2f9"><div class="ttname"><a href="classPointerVector.html#a6182f5429c4c98ba2556d40484aab2f9">PointerVector::end</a></div><div class="ttdeci">std::vector&lt; T * &gt;::iterator end()</div><div class="ttdef"><b>Definition:</b> <a href="pointervec_8h_source.html#l00086">pointervec.h:86</a></div></div>
<div class="ttc" id="structShipCAD_1_1ChooseLayerDialogData_html"><div class="ttname"><a href="structShipCAD_1_1ChooseLayerDialogData.html">ShipCAD::ChooseLayerDialogData</a></div><div class="ttdoc">layer chooser dialog exchange </div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00131">dialogdata.h:131</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a534abfeaab8e30436c7ba4f14048472a"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a534abfeaab8e30436c7ba4f14048472a">ShipCAD::SubdivisionSurface::getControlPoint</a></div><div class="ttdeci">SubdivisionControlPoint * getControlPoint(size_t index) const </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l01049">subdivsurface.cpp:1049</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a0770afe637ab88118b6957f20ceb8942"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a0770afe637ab88118b6957f20ceb8942">ShipCAD::Controller::newPoint</a></div><div class="ttdeci">void newPoint()</div><div class="ttdoc">add a new point to the model with no edges/faces attached </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01379">controller.cpp:1379</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_a03171cc921c53a568b778f5131a60deba8d802131f84b0a9edf8a419eded859d0"><div class="ttname"><a href="namespaceShipCAD.html#a03171cc921c53a568b778f5131a60deba8d802131f84b0a9edf8a419eded859d0">ShipCAD::svCorner</a></div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00143">shipcadlib.h:143</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a288d168e5160d0409d5e4472e2ad1d5b"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a288d168e5160d0409d5e4472e2ad1d5b">ShipCAD::Controller::rotateFaces</a></div><div class="ttdeci">void rotateFaces()</div><div class="ttdoc">rotate selected faces around an axis </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00412">controller.cpp:412</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a3b4ee09db0e5df18f9f5d58048156117"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a3b4ee09db0e5df18f9f5d58048156117">ShipCAD::Controller::calculateHydrostatics</a></div><div class="ttdeci">void calculateHydrostatics()</div><div class="ttdoc">calculate hydrostatics </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00847">controller.cpp:847</a></div></div>
<div class="ttc" id="structShipCAD_1_1NewModelDialogData_html_aa1624f2018fd39dbbe80bc10e70efa8b"><div class="ttname"><a href="structShipCAD_1_1NewModelDialogData.html#aa1624f2018fd39dbbe80bc10e70efa8b">ShipCAD::NewModelDialogData::rows</a></div><div class="ttdeci">size_t rows</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00201">dialogdata.h:201</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a69bafa71111e562a52a089be99b47871"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a69bafa71111e562a52a089be99b47871">ShipCAD::SubdivisionSurface::setActiveLayer</a></div><div class="ttdeci">void setActiveLayer(SubdivisionLayer *layer)</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l01375">subdivsurface.cpp:1375</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a89d94deb40f340ce439d53c781f72bcf"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a89d94deb40f340ce439d53c781f72bcf">ShipCAD::Controller::showMarkers</a></div><div class="ttdeci">void showMarkers(bool val)</div><div class="ttdoc">show markers </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01701">controller.cpp:1701</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_abf2b642e176da1fd768eaf7952fc80bf"><div class="ttname"><a href="classShipCAD_1_1Controller.html#abf2b642e176da1fd768eaf7952fc80bf">ShipCAD::Controller::showButtocks</a></div><div class="ttdeci">void showButtocks(bool)</div><div class="ttdoc">show buttocks </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01729">controller.cpp:1729</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a0737f31baec832fa23070d3d2accce20"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a0737f31baec832fa23070d3d2accce20">ShipCAD::Controller::splitEdges</a></div><div class="ttdeci">void splitEdges()</div><div class="ttdoc">create new controlpoints by splitting control edge into two </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00238">controller.cpp:238</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a6314812b2170bdbbf17e79374e745005"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a6314812b2170bdbbf17e79374e745005">ShipCAD::Controller::flipFaces</a></div><div class="ttdeci">void flipFaces()</div><div class="ttdoc">invert normal-direction of all selected faces </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00285">controller.cpp:285</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_ae416df4a72579eb3a1a418b19551eb53"><div class="ttname"><a href="namespaceShipCAD.html#ae416df4a72579eb3a1a418b19551eb53">ShipCAD::ChangeFileExt</a></div><div class="ttdeci">QString ChangeFileExt(const QString &amp;name, const QString &amp;ext)</div><div class="ttdoc">Append or change the file extension to that given. </div><div class="ttdef"><b>Definition:</b> <a href="utility_8cpp_source.html#l00569">utility.cpp:569</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a50f9ae11d46f3851c65fa8c969c5f8c3"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a50f9ae11d46f3851c65fa8c969c5f8c3">ShipCAD::Controller::reorderLayerList</a></div><div class="ttdeci">void reorderLayerList(ShipCAD::LayerDialogData *data)</div><div class="ttdoc">reorder layers </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01063">controller.cpp:1063</a></div></div>
<div class="ttc" id="controller_8h_html"><div class="ttname"><a href="controller_8h.html">controller.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1ParseError_html_a572bd9bbbf1d7b6683c8a758a37be7a3"><div class="ttname"><a href="classShipCAD_1_1ParseError.html#a572bd9bbbf1d7b6683c8a758a37be7a3">ShipCAD::ParseError::lineno</a></div><div class="ttdeci">size_t lineno() const </div><div class="ttdef"><b>Definition:</b> <a href="exception_8h_source.html#l00046">exception.h:46</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a6c147a75fa02e43145de346efb9542fd"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a6c147a75fa02e43145de346efb9542fd">ShipCAD::ShipCADModel::getWaterlines</a></div><div class="ttdeci">IntersectionVector &amp; getWaterlines()</div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8h_source.html#l00155">shipcadmodel.h:155</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a807f729e06e1ea1dde775bed14857956"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a807f729e06e1ea1dde775bed14857956">ShipCAD::Controller::intersectionsDialog</a></div><div class="ttdeci">void intersectionsDialog()</div><div class="ttdoc">the intersections dialog </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00983">controller.cpp:983</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_a33e1c54e3609477478431b6a4c106804a542ad0cef590007de75623cc41a83551"><div class="ttname"><a href="namespaceShipCAD.html#a33e1c54e3609477478431b6a4c106804a542ad0cef590007de75623cc41a83551">ShipCAD::fsPoints</a></div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00126">dialogdata.h:126</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a578aeb421311cb0f0080762b403577b6"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a578aeb421311cb0f0080762b403577b6">ShipCAD::SubdivisionSurface::numberOfSelectedControlPoints</a></div><div class="ttdeci">size_t numberOfSelectedControlPoints() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00201">subdivsurface.h:201</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_ae03a368cf40f1781fb0ed8a60248dcc6"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#ae03a368cf40f1781fb0ed8a60248dcc6">ShipCAD::ShipCADModel::loadChinesFromText</a></div><div class="ttdeci">void loadChinesFromText(QTextStream &amp;file, SplineVector &amp;splines)</div><div class="ttdoc">load splines from a text file </div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8cpp_source.html#l01530">shipcadmodel.cpp:1530</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionLayer_html_ad0d77de06b53814e248fc9bbfa908252"><div class="ttname"><a href="classShipCAD_1_1SubdivisionLayer.html#ad0d77de06b53814e248fc9bbfa908252">ShipCAD::SubdivisionLayer::numberOfFaces</a></div><div class="ttdeci">size_t numberOfFaces() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivlayer_8h_source.html#l00071">subdivlayer.h:71</a></div></div>
<div class="ttc" id="structShipCAD_1_1IntersectionsDialogData_html_a45fdbb695bb58187c24037aba1eabca6"><div class="ttname"><a href="structShipCAD_1_1IntersectionsDialogData.html#a45fdbb695bb58187c24037aba1eabca6">ShipCAD::IntersectionsDialogData::intersection_type</a></div><div class="ttdeci">intersection_type_t intersection_type</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00176">dialogdata.h:176</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a2b2d3d9fbd9fd115ae8e80fa57930277"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a2b2d3d9fbd9fd115ae8e80fa57930277">ShipCAD::Controller::proceedWhenLockedPoints</a></div><div class="ttdeci">bool proceedWhenLockedPoints()</div><div class="ttdoc">show a warning when edit commands are invoked and the model has locked points </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01514">controller.cpp:1514</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a4c29a9dd9e31c652a82b6398c8f7b983"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a4c29a9dd9e31c652a82b6398c8f7b983">ShipCAD::ShipCADModel::getFilename</a></div><div class="ttdeci">QString getFilename() const </div><div class="ttdoc">name of file </div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8cpp_source.html#l00259">shipcadmodel.cpp:259</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlEdge_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlEdge.html">ShipCAD::SubdivisionControlEdge</a></div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00116">subdivedge.h:116</a></div></div>
<div class="ttc" id="classPointerVector_html_a1107df98d34db68e3153e67196a16a11"><div class="ttname"><a href="classPointerVector.html#a1107df98d34db68e3153e67196a16a11">PointerVector::erase</a></div><div class="ttdeci">void erase(typename std::vector&lt; T * &gt;::iterator i)</div><div class="ttdef"><b>Definition:</b> <a href="pointervec_8h_source.html#l00095">pointervec.h:95</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a013b57fb59e7326e944100073d7da410"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a013b57fb59e7326e944100073d7da410">ShipCAD::Controller::setPrecision</a></div><div class="ttdeci">void setPrecision(ShipCAD::precision_t prec)</div><div class="ttdoc">change precision of model </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01784">controller.cpp:1784</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_a02ff571862dacdbec3248a80ec42eb4f"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#a02ff571862dacdbec3248a80ec42eb4f">ShipCAD::Visibility::setShowDiagonals</a></div><div class="ttdeci">void setShowDiagonals(bool show)</div><div class="ttdoc">set show diagonals </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8cpp_source.html#l00245">visibility.cpp:245</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_ada26b740ea1f317763b6ecd372f13ea2"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#ada26b740ea1f317763b6ecd372f13ea2">ShipCAD::SubdivisionSurface::insertPlane</a></div><div class="ttdeci">void insertPlane(const Plane &amp;plane, bool add_curves)</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l03030">subdivsurface.cpp:3030</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a1008c0cde2f16e883fbe6a07850ba670"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a1008c0cde2f16e883fbe6a07850ba670">ShipCAD::Controller::lackenbyModelTransformation</a></div><div class="ttdeci">void lackenbyModelTransformation()</div><div class="ttdoc">Affine hullform transformation according to Lackenby. </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01226">controller.cpp:1226</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_aa6729abfadacef4f98c6dbe7d4c1a7e6"><div class="ttname"><a href="classShipCAD_1_1Controller.html#aa6729abfadacef4f98c6dbe7d4c1a7e6">ShipCAD::Controller::showDiagonals</a></div><div class="ttdeci">void showDiagonals(bool)</div><div class="ttdoc">show diagonals </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01751">controller.cpp:1751</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a36de0343e95626e62e9683bcfc47a1ee"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a36de0343e95626e62e9683bcfc47a1ee">ShipCAD::Controller::dialogUpdatedPointCoord</a></div><div class="ttdeci">void dialogUpdatedPointCoord(float x, float y, float z)</div><div class="ttdoc">control point dialog changed point coordinates </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01947">controller.cpp:1947</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_aa401aa8ce5117101d34501743af9496f"><div class="ttname"><a href="classShipCAD_1_1Controller.html#aa401aa8ce5117101d34501743af9496f">ShipCAD::Controller::editPreferences</a></div><div class="ttdeci">void editPreferences()</div><div class="ttdoc">edit preferences </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01863">controller.cpp:1863</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a523a7e9948d95a71e9008d386daeafee"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a523a7e9948d95a71e9008d386daeafee">ShipCAD::ShipCADModel::setActiveControlPoint</a></div><div class="ttdeci">void setActiveControlPoint(SubdivisionControlPoint *pt)</div><div class="ttdoc">set the active control point </div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8h_source.html#l00137">shipcadmodel.h:137</a></div></div>
<div class="ttc" id="structShipCAD_1_1NewModelDialogData_html_af2d41edf92aa7fa317cc956801aeab50"><div class="ttname"><a href="structShipCAD_1_1NewModelDialogData.html#af2d41edf92aa7fa317cc956801aeab50">ShipCAD::NewModelDialogData::breadth</a></div><div class="ttdeci">float breadth</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00199">dialogdata.h:199</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a2a984cc9ae8c78153113552cfb6321d5"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a2a984cc9ae8c78153113552cfb6321d5">ShipCAD::SubdivisionSurface::clearSelection</a></div><div class="ttdeci">void clearSelection()</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l01749">subdivsurface.cpp:1749</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a9f2572c18a3e6adee8b36d65d0f4d0e8"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a9f2572c18a3e6adee8b36d65d0f4d0e8">ShipCAD::Controller::importMichletWaves</a></div><div class="ttdeci">void importMichletWaves()</div><div class="ttdoc">import file from CFD program Michlet </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00645">controller.cpp:645</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a24cef63888acec403e1d938ea96b6406"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a24cef63888acec403e1d938ea96b6406">ShipCAD::SubdivisionSurface::getControlCurve</a></div><div class="ttdeci">SubdivisionControlCurve * getControlCurve(size_t index) const </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l01093">subdivsurface.cpp:1093</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a993a7855df28b5b0e8ee0e49b94e49d7"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a993a7855df28b5b0e8ee0e49b94e49d7">ShipCAD::Controller::exeExtrudeEdgeDialog</a></div><div class="ttdeci">void exeExtrudeEdgeDialog(ShipCAD::ExtrudeEdgeDialogData &amp;data)</div><div class="ttdoc">execute the Extrude Edge dialog </div></div>
<div class="ttc" id="classShipCAD_1_1ProjectSettings_html_a4a994158dfec339efba2186d06467ff8"><div class="ttname"><a href="classShipCAD_1_1ProjectSettings.html#a4a994158dfec339efba2186d06467ff8">ShipCAD::ProjectSettings::setUnits</a></div><div class="ttdeci">bool setUnits(unit_type_t unit)</div><div class="ttdoc">set the units in the model. Scales the entire model appropriately </div><div class="ttdef"><b>Definition:</b> <a href="projsettings_8cpp_source.html#l00324">projsettings.cpp:324</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_af0f0d7bb979c8c8ba04b9be26e7cfe30"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#af0f0d7bb979c8c8ba04b9be26e7cfe30">ShipCAD::SubdivisionSurface::extractPointsFromSelection</a></div><div class="ttdeci">void extractPointsFromSelection(std::vector&lt; SubdivisionControlPoint * &gt; &amp;selectedpoints, size_t &amp;lockedpoints)</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l02794">subdivsurface.cpp:2794</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a4ad96e74ba77d8aa97f650277d06f00c"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a4ad96e74ba77d8aa97f650277d06f00c">ShipCAD::Controller::exePreferencesDialog</a></div><div class="ttdeci">void exePreferencesDialog(ShipCAD::PreferencesDialogData *data)</div><div class="ttdoc">execute the preferences dialog </div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_af644edd0d4ba993dbab280f036b37171"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#af644edd0d4ba993dbab280f036b37171">ShipCAD::SubdivisionSurface::addControlPoint</a></div><div class="ttdeci">SubdivisionControlPoint * addControlPoint(const QVector3D &amp;pt)</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l00173">subdivsurface.cpp:173</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_aa4373fbdac959c595f7ef08da4d5ad60"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#aa4373fbdac959c595f7ef08da4d5ad60">ShipCAD::SubdivisionSurface::mirrorFaces</a></div><div class="ttdeci">void mirrorFaces(bool connect_points, const Plane &amp;pln, std::vector&lt; SubdivisionControlFace * &gt; &amp;faces)</div><div class="ttdoc">mirror selected faces around a plane </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l00912">subdivsurface.cpp:912</a></div></div>
<div class="ttc" id="utility_8h_html"><div class="ttname"><a href="utility_8h.html">utility.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_ac19570e1402deab738d2231d6bec9650"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#ac19570e1402deab738d2231d6bec9650">ShipCAD::SubdivisionSurface::extrudeEdges</a></div><div class="ttdeci">void extrudeEdges(std::vector&lt; SubdivisionControlEdge * &gt; &amp;edges, const QVector3D &amp;direction)</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l02229">subdivsurface.cpp:2229</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a7ab84a738b747c4fcb2c3627e56d4bd0"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a7ab84a738b747c4fcb2c3627e56d4bd0">ShipCAD::ShipCADModel::extents</a></div><div class="ttdeci">void extents(QVector3D &amp;min, QVector3D &amp;max)</div><div class="ttdoc">find the bounding box of the model </div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8cpp_source.html#l00145">shipcadmodel.cpp:145</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_af3a6fa23a7318acbda7b0066b53d694f"><div class="ttname"><a href="namespaceShipCAD.html#af3a6fa23a7318acbda7b0066b53d694f">ShipCAD::version_t</a></div><div class="ttdeci">version_t</div><div class="ttdef"><b>Definition:</b> <a href="version_8h_source.html#l00039">version.h:39</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a7941ff51b66de58b883d2b0f46003af9"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a7941ff51b66de58b883d2b0f46003af9">ShipCAD::Controller::export2DPolylinesDXF</a></div><div class="ttdeci">void export2DPolylinesDXF()</div><div class="ttdoc">export intersections to DXF file as 2D polylines </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00587">controller.cpp:587</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_ad3e49bc04c73dc221e48d15974b68f41"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#ad3e49bc04c73dc221e48d15974b68f41">ShipCAD::ShipCADModel::loadBinary</a></div><div class="ttdeci">void loadBinary(FileBuffer &amp;source)</div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8cpp_source.html#l00928">shipcadmodel.cpp:928</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a6809e5172d21a2bdd439317e533d9c0b"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a6809e5172d21a2bdd439317e533d9c0b">ShipCAD::Controller::delftResistance</a></div><div class="ttdeci">void delftResistance()</div><div class="ttdoc">calculate resistance of yachts according to Delft systematic yacht series </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01526">controller.cpp:1526</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_ad4335a4380f34eace0a0aa6a3a4abdf5"><div class="ttname"><a href="classShipCAD_1_1Controller.html#ad4335a4380f34eace0a0aa6a3a4abdf5">ShipCAD::Controller::kaperResistance</a></div><div class="ttdeci">void kaperResistance()</div><div class="ttdoc">calculate resistance of slender hulls (canoes) according to John Winters </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01531">controller.cpp:1531</a></div></div>
<div class="ttc" id="classShipCAD_1_1Flowline_html_a4ade2663ee4102e0eff8920eeeaf8b37"><div class="ttname"><a href="classShipCAD_1_1Flowline.html#a4ade2663ee4102e0eff8920eeeaf8b37">ShipCAD::Flowline::setSelected</a></div><div class="ttdeci">void setSelected(bool set)</div><div class="ttdef"><b>Definition:</b> <a href="flowline_8cpp_source.html#l00514">flowline.cpp:514</a></div></div>
<div class="ttc" id="classShipCAD_1_1Flowline_html_a86839bd40eccaef22050ba6f15aec361"><div class="ttname"><a href="classShipCAD_1_1Flowline.html#a86839bd40eccaef22050ba6f15aec361">ShipCAD::Flowline::isVisible</a></div><div class="ttdeci">bool isVisible() const </div><div class="ttdef"><b>Definition:</b> <a href="flowline_8cpp_source.html#l00504">flowline.cpp:504</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_aa0f3f220e102a298d2e698af90f5e1fca98cd91131ffa92087bfcefe6fb5e4d6d"><div class="ttname"><a href="namespaceShipCAD.html#aa0f3f220e102a298d2e698af90f5e1fca98cd91131ffa92087bfcefe6fb5e4d6d">ShipCAD::transverse</a></div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00162">shipcadlib.h:162</a></div></div>
<div class="ttc" id="structShipCAD_1_1IntersectionsDialogData_html_a239c93bd2e10930a0b73fa4a491b3332"><div class="ttname"><a href="structShipCAD_1_1IntersectionsDialogData.html#a239c93bd2e10930a0b73fa4a491b3332">ShipCAD::IntersectionsDialogData::waterlines</a></div><div class="ttdeci">IntersectionVector waterlines</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00184">dialogdata.h:184</a></div></div>
<div class="ttc" id="structShipCAD_1_1RotateDialogData_html_a1e134e74a944807a063ac663526b0789"><div class="ttname"><a href="structShipCAD_1_1RotateDialogData.html#a1e134e74a944807a063ac663526b0789">ShipCAD::RotateDialogData::accepted</a></div><div class="ttdeci">bool accepted</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00162">dialogdata.h:162</a></div></div>
<div class="ttc" id="classShipCAD_1_1UndoObject_html_a93bad349f284a0ff1cece56aa931f9e3"><div class="ttname"><a href="classShipCAD_1_1UndoObject.html#a93bad349f284a0ff1cece56aa931f9e3">ShipCAD::UndoObject::accept</a></div><div class="ttdeci">void accept()</div><div class="ttdef"><b>Definition:</b> <a href="undoobject_8cpp_source.html#l00053">undoobject.cpp:53</a></div></div>
<div class="ttc" id="structShipCAD_1_1ChooseLayerDialogData_html_abf3c16e3322c1f9b93822204dd2ee825"><div class="ttname"><a href="structShipCAD_1_1ChooseLayerDialogData.html#abf3c16e3322c1f9b93822204dd2ee825">ShipCAD::ChooseLayerDialogData::layers</a></div><div class="ttdeci">std::vector&lt; std::pair&lt; ShipCAD::SubdivisionLayer *, bool &gt; &gt; layers</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00137">dialogdata.h:137</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html"><div class="ttname"><a href="classShipCAD_1_1Visibility.html">ShipCAD::Visibility</a></div><div class="ttdoc">Settings for visibility of different features. </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8h_source.html#l00049">visibility.h:49</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_acb0b35c10fe6ab3c348f8435a1ca844d"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#acb0b35c10fe6ab3c348f8435a1ca844d">ShipCAD::SubdivisionSurface::collapseEdge</a></div><div class="ttdeci">void collapseEdge(SubdivisionControlEdge *edge)</div><div class="ttdoc">collapse an edge on the surface </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l03199">subdivsurface.cpp:3199</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionLayer_html_a202a70b2862a0a1f1367ccba214d21dd"><div class="ttname"><a href="classShipCAD_1_1SubdivisionLayer.html#a202a70b2862a0a1f1367ccba214d21dd">ShipCAD::SubdivisionLayer::faces_begin</a></div><div class="ttdeci">std::vector&lt; SubdivisionControlFace * &gt;::const_iterator faces_begin() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivlayer_8h_source.html#l00145">subdivlayer.h:145</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_a36f2e03d75a5a2cfcfc3c637c08bee92"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#a36f2e03d75a5a2cfcfc3c637c08bee92">ShipCAD::Visibility::isShowCurvature</a></div><div class="ttdeci">bool isShowCurvature() const </div><div class="ttdoc">show visibility of curvature </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8h_source.html#l00108">visibility.h:108</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a108f5d44546cab9a8e58a7e8d187a68e"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a108f5d44546cab9a8e58a7e8d187a68e">ShipCAD::Controller::displayWarningDialog</a></div><div class="ttdeci">void displayWarningDialog(const QString &amp;msg)</div><div class="ttdoc">show a warning dialog </div></div>
<div class="ttc" id="structShipCAD_1_1ExtrudeEdgeDialogData_html_aa1841a8d73ac4887e46f3f2d0712770c"><div class="ttname"><a href="structShipCAD_1_1ExtrudeEdgeDialogData.html#aa1841a8d73ac4887e46f3f2d0712770c">ShipCAD::ExtrudeEdgeDialogData::vector</a></div><div class="ttdeci">QVector3D vector</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00072">dialogdata.h:72</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a7868a3bac4ed86abff1fe5a0fabb4abd"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a7868a3bac4ed86abff1fe5a0fabb4abd">ShipCAD::Controller::getModel</a></div><div class="ttdeci">ShipCADModel * getModel()</div><div class="ttdoc">get the model this is controlling </div><div class="ttdef"><b>Definition:</b> <a href="controller_8h_source.html#l00070">controller.h:70</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a7b18227e677079cd9bee6f5b159060b3"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a7b18227e677079cd9bee6f5b159060b3">ShipCAD::Controller::layerFacesDeselected</a></div><div class="ttdeci">void layerFacesDeselected(ShipCAD::SubdivisionLayer *layer)</div><div class="ttdoc">deselect all faces in a layer </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01969">controller.cpp:1969</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_acdf0f8352ab57d4b52c40193f031909b"><div class="ttname"><a href="classShipCAD_1_1Controller.html#acdf0f8352ab57d4b52c40193f031909b">ShipCAD::Controller::addFlowline</a></div><div class="ttdeci">void addFlowline(const QVector2D &amp;source, Viewport &amp;vp)</div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00830">controller.cpp:830</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a5bf8f452664e17dae636d4b66a66eba9"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a5bf8f452664e17dae636d4b66a66eba9">ShipCAD::SubdivisionSurface::addNewLayer</a></div><div class="ttdeci">SubdivisionLayer * addNewLayer()</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l00258">subdivsurface.cpp:258</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a73494d53c57b4401f59f3feb3d73941b"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a73494d53c57b4401f59f3feb3d73941b">ShipCAD::ShipCADModel::addFlowline</a></div><div class="ttdeci">Flowline * addFlowline(const QVector2D &amp;pt, viewport_type_t ty)</div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8cpp_source.html#l01127">shipcadmodel.cpp:1127</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a65cc43d93da8ed72af631e893057c773"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a65cc43d93da8ed72af631e893057c773">ShipCAD::SubdivisionSurface::setSelectedControlPoint</a></div><div class="ttdeci">void setSelectedControlPoint(SubdivisionControlPoint *pt)</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l01348">subdivsurface.cpp:1348</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlPoint_html_a54a5233e02ef34a174c24d5dcf3c6407"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlPoint.html#a54a5233e02ef34a174c24d5dcf3c6407">ShipCAD::SubdivisionControlPoint::setCoordinate</a></div><div class="ttdeci">virtual void setCoordinate(const QVector3D &amp;val)</div><div class="ttdef"><b>Definition:</b> <a href="subdivpoint_8cpp_source.html#l00635">subdivpoint.cpp:635</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a24cda66f9ccc1c9bc24f8885bcf97255"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a24cda66f9ccc1c9bc24f8885bcf97255">ShipCAD::Controller::showControlPointDialog</a></div><div class="ttdeci">void showControlPointDialog(bool)</div><div class="ttdoc">show or disable control point dialog </div></div>
<div class="ttc" id="namespaceShipCAD_html_aef3e2265fc686fbe6b50b081dcc4e6ff"><div class="ttname"><a href="namespaceShipCAD.html#aef3e2265fc686fbe6b50b081dcc4e6ff">ShipCAD::LengthStr</a></div><div class="ttdeci">QString LengthStr(unit_type_t units)</div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8cpp_source.html#l00050">shipcadlib.cpp:50</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionLayer_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionLayer.html">ShipCAD::SubdivisionLayer</a></div><div class="ttdoc">Layer, collection of SubdivisionControlFaces. </div><div class="ttdef"><b>Definition:</b> <a href="subdivlayer_8h_source.html#l00061">subdivlayer.h:61</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_a03171cc921c53a568b778f5131a60debaf17373a62a5f899a61ed17d28e103d24"><div class="ttname"><a href="namespaceShipCAD.html#a03171cc921c53a568b778f5131a60debaf17373a62a5f899a61ed17d28e103d24">ShipCAD::svDart</a></div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00142">shipcadlib.h:142</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_ae649fe7169f64a8e5ede1fbb36a176fa"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#ae649fe7169f64a8e5ede1fbb36a176fa">ShipCAD::SubdivisionEdge::isCrease</a></div><div class="ttdeci">bool isCrease() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00081">subdivedge.h:81</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_acab9a8ee41a93303233c2cb70afa6cc1"><div class="ttname"><a href="classShipCAD_1_1Controller.html#acab9a8ee41a93303233c2cb70afa6cc1">ShipCAD::Controller::addCurve</a></div><div class="ttdeci">void addCurve()</div><div class="ttdoc">add a new controlcurve </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00116">controller.cpp:116</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_add27457b6d8b5e3479c34dbb0124c606"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#add27457b6d8b5e3479c34dbb0124c606">ShipCAD::SubdivisionSurface::numberOfSelectedLockedPoints</a></div><div class="ttdeci">size_t numberOfSelectedLockedPoints() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l01337">subdivsurface.cpp:1337</a></div></div>
<div class="ttc" id="structShipCAD_1_1SurfaceCheckResult_html_ac9e1040a8818a6ecb98ab8981115deeb"><div class="ttname"><a href="structShipCAD_1_1SurfaceCheckResult.html#ac9e1040a8818a6ecb98ab8981115deeb">ShipCAD::SurfaceCheckResult::leaks</a></div><div class="ttdeci">std::vector&lt; SubdivisionControlPoint * &gt; leaks</div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00205">shipcadlib.h:205</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html_a5ed850eb8b536f4f534adca1c9a3aca0"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html#a5ed850eb8b536f4f534adca1c9a3aca0">ShipCAD::SubdivisionControlCurve::isVisible</a></div><div class="ttdeci">bool isVisible() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8cpp_source.html#l00118">subdivcontrolcurve.cpp:118</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a5c58ee81d873069b4c347f6d35d8a88a"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a5c58ee81d873069b4c347f6d35d8a88a">ShipCAD::SubdivisionSurface::getSelControlFaceCollection</a></div><div class="ttdeci">std::set&lt; SubdivisionControlFace * &gt; &amp; getSelControlFaceCollection()</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00266">subdivsurface.h:266</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionPoint_html_af86801ec715b4967fb3facf82f3f34ac"><div class="ttname"><a href="classShipCAD_1_1SubdivisionPoint.html#af86801ec715b4967fb3facf82f3f34ac">ShipCAD::SubdivisionPoint::numberOfEdges</a></div><div class="ttdeci">size_t numberOfEdges() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivpoint_8h_source.html#l00159">subdivpoint.h:159</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_ae378a523725f5718c9f2b55103f08dcb"><div class="ttname"><a href="namespaceShipCAD.html#ae378a523725f5718c9f2b55103f08dcb">ShipCAD::MakeLength</a></div><div class="ttdeci">QString MakeLength(float value, int decimals, int des_length)</div><div class="ttdoc">Create a formatted string from a float value. </div><div class="ttdef"><b>Definition:</b> <a href="utility_8cpp_source.html#l00603">utility.cpp:603</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_ace6b3dde2f577bb95873ece93bcc9a5a"><div class="ttname"><a href="classShipCAD_1_1Controller.html#ace6b3dde2f577bb95873ece93bcc9a5a">ShipCAD::Controller::showGrid</a></div><div class="ttdeci">void showGrid(bool val)</div><div class="ttdoc">show grid </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01646">controller.cpp:1646</a></div></div>
<div class="ttc" id="structShipCAD_1_1SurfaceCheckResult_html_ac5c4a6c0d87e8020e469f4c06bd8c50d"><div class="ttname"><a href="structShipCAD_1_1SurfaceCheckResult.html#ac5c4a6c0d87e8020e469f4c06bd8c50d">ShipCAD::SurfaceCheckResult::inconsistent</a></div><div class="ttdeci">size_t inconsistent</div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00202">shipcadlib.h:202</a></div></div>
<div class="ttc" id="classShipCAD_1_1FileBuffer_html_adcc7e54a07f39ad930df82da9c3c70fd"><div class="ttname"><a href="classShipCAD_1_1FileBuffer.html#adcc7e54a07f39ad930df82da9c3c70fd">ShipCAD::FileBuffer::saveToFile</a></div><div class="ttdeci">void saveToFile(QFile &amp;file)</div><div class="ttdef"><b>Definition:</b> <a href="filebuffer_8cpp_source.html#l00085">filebuffer.cpp:85</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_a72fa3ed8c721fffe65b29c61329a1d35"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#a72fa3ed8c721fffe65b29c61329a1d35">ShipCAD::Visibility::setShowCurvature</a></div><div class="ttdeci">void setShowCurvature(bool show)</div><div class="ttdoc">set show curvature </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8cpp_source.html#l00187">visibility.cpp:187</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a6feda4dd07262d1f137f8f8a677bd23d"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a6feda4dd07262d1f137f8f8a677bd23d">ShipCAD::ShipCADModel::numberOfMarkers</a></div><div class="ttdeci">size_t numberOfMarkers() const </div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8h_source.html#l00199">shipcadmodel.h:199</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a5f14267f3c2906bfaf755536efaeea18"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a5f14267f3c2906bfaf755536efaeea18">ShipCAD::Controller::scaleFaces</a></div><div class="ttdeci">void scaleFaces()</div><div class="ttdoc">scale selected faces </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00486">controller.cpp:486</a></div></div>
<div class="ttc" id="shipcadmodel_8h_html"><div class="ttname"><a href="shipcadmodel_8h.html">shipcadmodel.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_ad4f874132a137e89a39e60572748dab0"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#ad4f874132a137e89a39e60572748dab0">ShipCAD::SubdivisionSurface::deleteControlPoint</a></div><div class="ttdeci">void deleteControlPoint(SubdivisionControlPoint *point)</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l00236">subdivsurface.cpp:236</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a229916f691507a3fa9393d0f9fbc1de5"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a229916f691507a3fa9393d0f9fbc1de5">ShipCAD::Controller::importSurface</a></div><div class="ttdeci">void importSurface()</div><div class="ttdoc">import a number of curves and fit a surface </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00749">controller.cpp:749</a></div></div>
<div class="ttc" id="classShipCAD_1_1Plane_html"><div class="ttname"><a href="classShipCAD_1_1Plane.html">ShipCAD::Plane</a></div><div class="ttdef"><b>Definition:</b> <a href="plane_8h_source.html#l00039">plane.h:39</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a798c513f6454b27141c93bb7a9681394"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a798c513f6454b27141c93bb7a9681394">ShipCAD::Controller::showBothSides</a></div><div class="ttdeci">void showBothSides(bool val)</div><div class="ttdoc">show both sides of hull </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01690">controller.cpp:1690</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlPoint_html_a5f2cde3c54ca44c4b4d3ded0e3bc4ded"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlPoint.html#a5f2cde3c54ca44c4b4d3ded0e3bc4ded">ShipCAD::SubdivisionControlPoint::setLocked</a></div><div class="ttdeci">void setLocked(bool val)</div><div class="ttdef"><b>Definition:</b> <a href="subdivpoint_8cpp_source.html#l00629">subdivpoint.cpp:629</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_ae8fe6d69df313f7459235de1a0614e8c"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#ae8fe6d69df313f7459235de1a0614e8c">ShipCAD::ShipCADModel::setFileChanged</a></div><div class="ttdeci">void setFileChanged(bool changed)</div><div class="ttdoc">set file changed flag </div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8h_source.html#l00249">shipcadmodel.h:249</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_aa56834b730aafdf2786ddc9a60a046fda8e5e5dc412191234863fae2f98709477"><div class="ttname"><a href="namespaceShipCAD.html#aa56834b730aafdf2786ddc9a60a046fda8e5e5dc412191234863fae2f98709477">ShipCAD::fiFree</a></div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00111">shipcadlib.h:111</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a19864f7628c596553f7c89247715b10a"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a19864f7628c596553f7c89247715b10a">ShipCAD::ShipCADModel::getDiagonals</a></div><div class="ttdeci">IntersectionVector &amp; getDiagonals()</div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8h_source.html#l00157">shipcadmodel.h:157</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_af3cb8f74ad629b252e41d18dd4eafaf5"><div class="ttname"><a href="classShipCAD_1_1Controller.html#af3cb8f74ad629b252e41d18dd4eafaf5">ShipCAD::Controller::hydrostaticsDialog</a></div><div class="ttdeci">void hydrostaticsDialog()</div><div class="ttdoc">calculate a range of hydrostatics </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00857">controller.cpp:857</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_a39e12b36d20e2e3ad750e18c248a04f5"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#a39e12b36d20e2e3ad750e18c248a04f5">ShipCAD::Visibility::isShowFlowlines</a></div><div class="ttdeci">bool isShowFlowlines() const </div><div class="ttdoc">show visibility of flowlines </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8h_source.html#l00130">visibility.h:130</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_a41a2754fcdbe69609b837fc9be26135e"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#a41a2754fcdbe69609b837fc9be26135e">ShipCAD::Visibility::setShowStations</a></div><div class="ttdeci">void setShowStations(bool show)</div><div class="ttdoc">set visibility of stations </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8cpp_source.html#l00213">visibility.cpp:213</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a969bc231a8d15189a717acbca9146deb"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a969bc231a8d15189a717acbca9146deb">ShipCAD::Controller::Controller</a></div><div class="ttdeci">Controller(ShipCADModel *model)</div><div class="ttdoc">constructor </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00051">controller.cpp:51</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a7ec129046c11bd2be6cc388ca85206ce"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a7ec129046c11bd2be6cc388ca85206ce">ShipCAD::Controller::importPolycad</a></div><div class="ttdeci">void importPolycad()</div><div class="ttdoc">import a polycad file </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00744">controller.cpp:744</a></div></div>
<div class="ttc" id="structShipCAD_1_1IntersectionsDialogData_html_a0b612a856d1875fb0062907fb1cc77a7"><div class="ttname"><a href="structShipCAD_1_1IntersectionsDialogData.html#a0b612a856d1875fb0062907fb1cc77a7">ShipCAD::IntersectionsDialogData::delete_intersections</a></div><div class="ttdeci">bool delete_intersections</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00180">dialogdata.h:180</a></div></div>
<div class="ttc" id="structShipCAD_1_1MirrorDialogData_html_afcb200cc96d661381d54e6ca4919a216"><div class="ttname"><a href="structShipCAD_1_1MirrorDialogData.html#afcb200cc96d661381d54e6ca4919a216">ShipCAD::MirrorDialogData::accepted</a></div><div class="ttdeci">bool accepted</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00148">dialogdata.h:148</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_ade17d53952bf5a977dfec2e68f4fffb9"><div class="ttname"><a href="classShipCAD_1_1Controller.html#ade17d53952bf5a977dfec2e68f4fffb9">ShipCAD::Controller::updateUndoData</a></div><div class="ttdeci">void updateUndoData()</div><div class="ttdoc">signal when undo data is changed </div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_af983f99c449cd485a6362768a64d3c1e"><div class="ttname"><a href="classShipCAD_1_1Controller.html#af983f99c449cd485a6362768a64d3c1e">ShipCAD::Controller::unlockAllPoints</a></div><div class="ttdeci">void unlockAllPoints()</div><div class="ttdoc">unlock all points </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01497">controller.cpp:1497</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_ae28eabc4c698e3bc8732a004d2ab4034"><div class="ttname"><a href="classShipCAD_1_1Controller.html#ae28eabc4c698e3bc8732a004d2ab4034">ShipCAD::Controller::changeSelectedItems</a></div><div class="ttdeci">void changeSelectedItems()</div><div class="ttdoc">signal when selection of items changes signal isn&amp;#39;t required when modifiedModel is issued ...</div></div>
<div class="ttc" id="namespaceShipCAD_html_aa56834b730aafdf2786ddc9a60a046fda5631b7711c628bad5c561953eaac2863"><div class="ttname"><a href="namespaceShipCAD.html#aa56834b730aafdf2786ddc9a60a046fda5631b7711c628bad5c561953eaac2863">ShipCAD::fiDiagonal</a></div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00115">shipcadlib.h:115</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlEdge_html_ae247e08eec97952d1835df03c8269829"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlEdge.html#ae247e08eec97952d1835df03c8269829">ShipCAD::SubdivisionControlEdge::setSelected</a></div><div class="ttdeci">void setSelected(bool val)</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8cpp_source.html#l00484">subdivedge.cpp:484</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionLayer_html_a5494031433242c810e6e307bfef33e6d"><div class="ttname"><a href="classShipCAD_1_1SubdivisionLayer.html#a5494031433242c810e6e307bfef33e6d">ShipCAD::SubdivisionLayer::setColor</a></div><div class="ttdeci">void setColor(QColor col)</div><div class="ttdef"><b>Definition:</b> <a href="subdivlayer_8cpp_source.html#l00181">subdivlayer.cpp:181</a></div></div>
<div class="ttc" id="structShipCAD_1_1ChooseLayerDialogData_html_a96cae0954fbe02423cdaee90c5983da2"><div class="ttname"><a href="structShipCAD_1_1ChooseLayerDialogData.html#a96cae0954fbe02423cdaee90c5983da2">ShipCAD::ChooseLayerDialogData::accepted</a></div><div class="ttdeci">bool accepted</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00133">dialogdata.h:133</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_aa56834b730aafdf2786ddc9a60a046fdaf57b8e7252f2c55c001df410276926e3"><div class="ttname"><a href="namespaceShipCAD.html#aa56834b730aafdf2786ddc9a60a046fdaf57b8e7252f2c55c001df410276926e3">ShipCAD::fiStation</a></div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00112">shipcadlib.h:112</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a011480014cfb68430c9f60aff474936c"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a011480014cfb68430c9f60aff474936c">ShipCAD::SubdivisionSurface::numberOfLayers</a></div><div class="ttdeci">size_t numberOfLayers() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00285">subdivsurface.h:285</a></div></div>
<div class="ttc" id="classPointerVector_html_abaee9f77dee6ea2523dff64b184c9f54"><div class="ttname"><a href="classPointerVector.html#abaee9f77dee6ea2523dff64b184c9f54">PointerVector::add</a></div><div class="ttdeci">void add(T *elem)</div><div class="ttdef"><b>Definition:</b> <a href="pointervec_8h_source.html#l00072">pointervec.h:72</a></div></div>
<div class="ttc" id="structShipCAD_1_1IntersectionsDialogData_html"><div class="ttname"><a href="structShipCAD_1_1IntersectionsDialogData.html">ShipCAD::IntersectionsDialogData</a></div><div class="ttdoc">intersections dialog exchange </div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00174">dialogdata.h:174</a></div></div>
<div class="ttc" id="structShipCAD_1_1LayerDialogData_html"><div class="ttname"><a href="structShipCAD_1_1LayerDialogData.html">ShipCAD::LayerDialogData</a></div><div class="ttdoc">layer properties dialog exchange </div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00112">dialogdata.h:112</a></div></div>
<div class="ttc" id="classShipCAD_1_1Plane_html_a383a2f49031b8bcfa04be06035836a05"><div class="ttname"><a href="classShipCAD_1_1Plane.html#a383a2f49031b8bcfa04be06035836a05">ShipCAD::Plane::setA</a></div><div class="ttdeci">void setA(float val)</div><div class="ttdef"><b>Definition:</b> <a href="plane_8h_source.html#l00059">plane.h:59</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_acaba200143a2ae5e7ea8d423633bcdf5"><div class="ttname"><a href="classShipCAD_1_1Controller.html#acaba200143a2ae5e7ea8d423633bcdf5">ShipCAD::Controller::keelAndRudderWizard</a></div><div class="ttdeci">void keelAndRudderWizard()</div><div class="ttdoc">dialog to create keels and rudders </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01831">controller.cpp:1831</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a11a8473f84eeed35f9f48c119da16351"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a11a8473f84eeed35f9f48c119da16351">ShipCAD::Controller::exportSTL</a></div><div class="ttdeci">void exportSTL()</div><div class="ttdoc">export surface to STL file </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00660">controller.cpp:660</a></div></div>
<div class="ttc" id="structShipCAD_1_1NewModelDialogData_html_ad81a20ab469df5a0f65149f967415d31"><div class="ttname"><a href="structShipCAD_1_1NewModelDialogData.html#ad81a20ab469df5a0f65149f967415d31">ShipCAD::NewModelDialogData::length</a></div><div class="ttdeci">float length</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00198">dialogdata.h:198</a></div></div>
<div class="ttc" id="classShipCAD_1_1Plane_html_affed6efd889f4725ae764b243763fb3e"><div class="ttname"><a href="classShipCAD_1_1Plane.html#affed6efd889f4725ae764b243763fb3e">ShipCAD::Plane::setC</a></div><div class="ttdeci">void setC(float val)</div><div class="ttdef"><b>Definition:</b> <a href="plane_8h_source.html#l00065">plane.h:65</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_aa56834b730aafdf2786ddc9a60a046fdabcf8818401977200b532a1e18ec2df70"><div class="ttname"><a href="namespaceShipCAD.html#aa56834b730aafdf2786ddc9a60a046fdabcf8818401977200b532a1e18ec2df70">ShipCAD::fiButtock</a></div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00113">shipcadlib.h:113</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_aef735cfaf32fe83bf1091f9323e7061b"><div class="ttname"><a href="classShipCAD_1_1Controller.html#aef735cfaf32fe83bf1091f9323e7061b">ShipCAD::Controller::importCarene</a></div><div class="ttdeci">void importCarene()</div><div class="ttdoc">import a Carene XYZ file, create multi-chine boat with developable surfaces </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00666">controller.cpp:666</a></div></div>
<div class="ttc" id="namespaceShipCAD_html"><div class="ttname"><a href="namespaceShipCAD.html">ShipCAD</a></div><div class="ttdef"><b>Definition:</b> <a href="backgroundimage_8h_source.html#l00039">backgroundimage.h:39</a></div></div>
<div class="ttc" id="structShipCAD_1_1ChooseColorDialogData_html_a5b600a941ccefec026e59e7d65caff63"><div class="ttname"><a href="structShipCAD_1_1ChooseColorDialogData.html#a5b600a941ccefec026e59e7d65caff63">ShipCAD::ChooseColorDialogData::accepted</a></div><div class="ttdeci">bool accepted</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00082">dialogdata.h:82</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_aee7768d40a54b2d22cf604dedeec4bbc"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#aee7768d40a54b2d22cf604dedeec4bbc">ShipCAD::SubdivisionSurface::shootPickRay</a></div><div class="ttdeci">SubdivisionBase * shootPickRay(Viewport &amp;vp, const PickRay &amp;ray)</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l01396">subdivsurface.cpp:1396</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html">ShipCAD::ShipCADModel</a></div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8h_source.html#l00063">shipcadmodel.h:63</a></div></div>
<div class="ttc" id="classPointerVector_html_a0a7659a1819768998582533c65825501"><div class="ttname"><a href="classPointerVector.html#a0a7659a1819768998582533c65825501">PointerVector::insert</a></div><div class="ttdeci">void insert(typename std::vector&lt; T * &gt;::iterator position, typename std::vector&lt; T * &gt;::iterator first, typename std::vector&lt; T * &gt;::iterator last)</div><div class="ttdef"><b>Definition:</b> <a href="pointervec_8h_source.html#l00098">pointervec.h:98</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_ae6b7b4127e9c43273fcbf0cdeb88470d"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#ae6b7b4127e9c43273fcbf0cdeb88470d">ShipCAD::SubdivisionSurface::getSelControlEdgeCollection</a></div><div class="ttdeci">std::set&lt; SubdivisionControlEdge * &gt; &amp; getSelControlEdgeCollection()</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00238">subdivsurface.h:238</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a901935dbf43aa0181d40e315da8c3902"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a901935dbf43aa0181d40e315da8c3902">ShipCAD::Controller::checkModel</a></div><div class="ttdeci">void checkModel(bool showresult)</div><div class="ttdoc">check the surface for inconsistent normal directions and leaks </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01160">controller.cpp:1160</a></div></div>
<div class="ttc" id="classOrderedPointMap_html_a4e4a269c790a35950901207c0d9ff4fb"><div class="ttname"><a href="classOrderedPointMap.html#a4e4a269c790a35950901207c0d9ff4fb">OrderedPointMap::begin</a></div><div class="ttdeci">iterator begin()</div><div class="ttdef"><b>Definition:</b> <a href="orderedmap_8h_source.html#l00186">orderedmap.h:186</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlEdge_html_abdf3cc3f37064e47096fbda4c190fcd3"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlEdge.html#abdf3cc3f37064e47096fbda4c190fcd3">ShipCAD::SubdivisionControlEdge::isVisible</a></div><div class="ttdeci">bool isVisible() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8cpp_source.html#l00497">subdivedge.cpp:497</a></div></div>
<div class="ttc" id="structShipCAD_1_1ProjectSettingsDialogData_html_a0c5b5a3e4f840c501ba4e19191050284"><div class="ttname"><a href="structShipCAD_1_1ProjectSettingsDialogData.html#a0c5b5a3e4f840c501ba4e19191050284">ShipCAD::ProjectSettingsDialogData::units</a></div><div class="ttdeci">unit_type_t units</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00242">dialogdata.h:242</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a7bb6418bfa20645211e6bdbf8c6ef951"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a7bb6418bfa20645211e6bdbf8c6ef951">ShipCAD::ShipCADModel::numberOfFlowlines</a></div><div class="ttdeci">size_t numberOfFlowlines() const </div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8h_source.html#l00211">shipcadmodel.h:211</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a48f50dda1f805bab3ad127f2051c6fa1"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a48f50dda1f805bab3ad127f2051c6fa1">ShipCAD::Controller::importFrames</a></div><div class="ttdeci">void importFrames(const QString &amp;filename)</div><div class="ttdoc">Load a bodyplan and try to fit surface to it. </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00863">controller.cpp:863</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_af7511bdc37081194facf5169c91cee28"><div class="ttname"><a href="classShipCAD_1_1Controller.html#af7511bdc37081194facf5169c91cee28">ShipCAD::Controller::exeRotateDialog</a></div><div class="ttdeci">void exeRotateDialog(ShipCAD::RotateDialogData &amp;data)</div><div class="ttdoc">execute the Rotate dialog </div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a860a91c09307c71f738a75aec159e6d0"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a860a91c09307c71f738a75aec159e6d0">ShipCAD::ShipCADModel::importChines</a></div><div class="ttdeci">void importChines(size_t np, SplineVector &amp;chines)</div><div class="ttdoc">imports chines and creates developable surface </div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8cpp_source.html#l01609">shipcadmodel.cpp:1609</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_a26237f4689cbf7e356c7c1ce3f9c69ff"><div class="ttname"><a href="namespaceShipCAD.html#a26237f4689cbf7e356c7c1ce3f9c69ff">ShipCAD::to_size_t</a></div><div class="ttdeci">size_t to_size_t(int val)</div><div class="ttdoc">convert an int to a size_t </div><div class="ttdef"><b>Definition:</b> <a href="utility_8cpp_source.html#l00630">utility.cpp:630</a></div></div>
<div class="ttc" id="structShipCAD_1_1PreferencesDialogData_html_a273da4c8a491252b81a8135888fd09b7"><div class="ttname"><a href="structShipCAD_1_1PreferencesDialogData.html#a273da4c8a491252b81a8135888fd09b7">ShipCAD::PreferencesDialogData::accepted</a></div><div class="ttdeci">bool accepted</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00225">dialogdata.h:225</a></div></div>
<div class="ttc" id="structShipCAD_1_1PreferencesDialogData_html"><div class="ttname"><a href="structShipCAD_1_1PreferencesDialogData.html">ShipCAD::PreferencesDialogData</a></div><div class="ttdoc">preferences dialog exchange </div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00223">dialogdata.h:223</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a32103fdef0de00b63eba1ef4282c5598"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a32103fdef0de00b63eba1ef4282c5598">ShipCAD::Controller::showHistoryUndo</a></div><div class="ttdeci">void showHistoryUndo()</div><div class="ttdoc">show the undo history </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01618">controller.cpp:1618</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionPoint_html_a285325115089a1b99be4480bf6079bf1"><div class="ttname"><a href="classShipCAD_1_1SubdivisionPoint.html#a285325115089a1b99be4480bf6079bf1">ShipCAD::SubdivisionPoint::getCoordinate</a></div><div class="ttdeci">QVector3D getCoordinate() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivpoint_8h_source.html#l00140">subdivpoint.h:140</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_aea2802b3826e7b6f7d5eae78db07f7e0"><div class="ttname"><a href="classShipCAD_1_1Controller.html#aea2802b3826e7b6f7d5eae78db07f7e0">ShipCAD::Controller::changeActiveLayer</a></div><div class="ttdeci">void changeActiveLayer()</div><div class="ttdoc">signal when active layer changes </div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_af090412ce033ebbe20c148f3236b8c8e"><div class="ttname"><a href="classShipCAD_1_1Controller.html#af090412ce033ebbe20c148f3236b8c8e">ShipCAD::Controller::shadeUnderwater</a></div><div class="ttdeci">void shadeUnderwater(bool val)</div><div class="ttdoc">underwater color change shading </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01712">controller.cpp:1712</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_abcbf0d12a0bbdbf62fd56e12e7dd466c"><div class="ttname"><a href="classShipCAD_1_1Controller.html#abcbf0d12a0bbdbf62fd56e12e7dd466c">ShipCAD::Controller::layerDialogComplete</a></div><div class="ttdeci">void layerDialogComplete(ShipCAD::LayerDialogData *data)</div><div class="ttdoc">the layer dialog </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01021">controller.cpp:1021</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_ab21694a435e0c0dd6139de28ae543254"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#ab21694a435e0c0dd6139de28ae543254">ShipCAD::SubdivisionSurface::setSelectedControlFace</a></div><div class="ttdeci">void setSelectedControlFace(SubdivisionControlFace *face)</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l01319">subdivsurface.cpp:1319</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a71eed6b40f7bdf66144b4e8320f99b37"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a71eed6b40f7bdf66144b4e8320f99b37">ShipCAD::SubdivisionSurface::numberOfSelectedControlFaces</a></div><div class="ttdeci">size_t numberOfSelectedControlFaces() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00262">subdivsurface.h:262</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html">ShipCAD::SubdivisionSurface</a></div><div class="ttdoc">Subdivision Surface. </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00103">subdivsurface.h:103</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_ac8a3a46ed5864f651495bd450d11ef2a"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#ac8a3a46ed5864f651495bd450d11ef2a">ShipCAD::ShipCADModel::clearUndo</a></div><div class="ttdeci">void clearUndo()</div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8cpp_source.html#l00452">shipcadmodel.cpp:452</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_aa0f3f220e102a298d2e698af90f5e1fcaea2a3030c56526b9d4d3675ca0d5cefe"><div class="ttname"><a href="namespaceShipCAD.html#aa0f3f220e102a298d2e698af90f5e1fcaea2a3030c56526b9d4d3675ca0d5cefe">ShipCAD::vertical</a></div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00164">shipcadlib.h:164</a></div></div>
<div class="ttc" id="structShipCAD_1_1SurfaceCheckResult_html_a80e73423275a12c1047605ceb59829d6"><div class="ttname"><a href="structShipCAD_1_1SurfaceCheckResult.html#a80e73423275a12c1047605ceb59829d6">ShipCAD::SurfaceCheckResult::inverted_faces</a></div><div class="ttdeci">size_t inverted_faces</div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00203">shipcadlib.h:203</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a6041d09e04e4360dd21c9cce963ee6e2"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a6041d09e04e4360dd21c9cce963ee6e2">ShipCAD::Controller::exportFEF</a></div><div class="ttdeci">void exportFEF()</div><div class="ttdoc">export Freeship exchange format (FEF) file </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00602">controller.cpp:602</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlPoint_html_a804539ab78cc9b56d7a65110bc2db294"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlPoint.html#a804539ab78cc9b56d7a65110bc2db294">ShipCAD::SubdivisionControlPoint::isVisible</a></div><div class="ttdeci">bool isVisible() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivpoint_8cpp_source.html#l00580">subdivpoint.cpp:580</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_a742f9cd95e62e207769e17467ecd5bb7ad45c94ca5dea7f967d58f9864f49c465"><div class="ttname"><a href="namespaceShipCAD.html#a742f9cd95e62e207769e17467ecd5bb7ad45c94ca5dea7f967d58f9864f49c465">ShipCAD::mvBoth</a></div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00158">shipcadlib.h:158</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a2edced5f3a542be51b857e92ecfbf63e"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a2edced5f3a542be51b857e92ecfbf63e">ShipCAD::SubdivisionSurface::getLayers</a></div><div class="ttdeci">std::vector&lt; SubdivisionLayer * &gt; &amp; getLayers()</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00299">subdivsurface.h:299</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a00b524f96361a01e0241ffc2b23c60cc"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a00b524f96361a01e0241ffc2b23c60cc">ShipCAD::Controller::exportGHS</a></div><div class="ttdeci">void exportGHS()</div><div class="ttdoc">export GHS file format </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00607">controller.cpp:607</a></div></div>
<div class="ttc" id="structShipCAD_1_1ProjectSettingsDialogData_html_a97f37da0a44aaca11963ab6a3d7da218"><div class="ttname"><a href="structShipCAD_1_1ProjectSettingsDialogData.html#a97f37da0a44aaca11963ab6a3d7da218">ShipCAD::ProjectSettingsDialogData::visibility</a></div><div class="ttdeci">Visibility visibility</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00241">dialogdata.h:241</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_a017115fc25ec3a7363033dcca873f38f"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#a017115fc25ec3a7363033dcca873f38f">ShipCAD::Visibility::setModelView</a></div><div class="ttdeci">void setModelView(model_view_t vw)</div><div class="ttdoc">set model view </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8cpp_source.html#l00150">visibility.cpp:150</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_af94f1596031595184251f2f513ee8bd9"><div class="ttname"><a href="classShipCAD_1_1Controller.html#af94f1596031595184251f2f513ee8bd9">ShipCAD::Controller::newLayer</a></div><div class="ttdeci">void newLayer()</div><div class="ttdoc">add a new empty layer </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01077">controller.cpp:1077</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a3c229cc7b4660933229250ba77e197f7"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a3c229cc7b4660933229250ba77e197f7">ShipCAD::Controller::exportFileArchimedes</a></div><div class="ttdeci">void exportFileArchimedes()</div><div class="ttdoc">export stations to archimedes </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00577">controller.cpp:577</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_a34d56f9e9467b9749c6b50adfe8a0493"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#a34d56f9e9467b9749c6b50adfe8a0493">ShipCAD::Visibility::getModelView</a></div><div class="ttdeci">model_view_t getModelView() const </div><div class="ttdoc">get model view setting </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8h_source.html#l00152">visibility.h:152</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_a177cc880657723c1cbcc4c66c16ee208"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#a177cc880657723c1cbcc4c66c16ee208">ShipCAD::Visibility::isShowControlNet</a></div><div class="ttdeci">bool isShowControlNet() const </div><div class="ttdoc">is control net shown </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8h_source.html#l00097">visibility.h:97</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a8d257c1c04ae4e6780e91ad53ba767d8"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a8d257c1c04ae4e6780e91ad53ba767d8">ShipCAD::Controller::addCylinder</a></div><div class="ttdeci">void addCylinder()</div><div class="ttdoc">add a cylinder to model </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01824">controller.cpp:1824</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a8f573f351b3f9568618e44ab39fb2a7e"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a8f573f351b3f9568618e44ab39fb2a7e">ShipCAD::Controller::movePoint</a></div><div class="ttdeci">void movePoint(QVector3D changedCoords)</div><div class="ttdoc">move a selected point in the model </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01394">controller.cpp:1394</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_afba338b6c9bff947b850c220d031a7de"><div class="ttname"><a href="classShipCAD_1_1Controller.html#afba338b6c9bff947b850c220d031a7de">ShipCAD::Controller::assembleFace</a></div><div class="ttdeci">void assembleFace()</div><div class="ttdoc">assemble </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00274">controller.cpp:274</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_a973f63d7828898c1499607a8d87b430d"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#a973f63d7828898c1499607a8d87b430d">ShipCAD::Visibility::isShowNormals</a></div><div class="ttdeci">bool isShowNormals() const </div><div class="ttdoc">show visibility of normals </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8h_source.html#l00185">visibility.h:185</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a2b966f1434e1df01e0bfd589cdb7425d"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a2b966f1434e1df01e0bfd589cdb7425d">ShipCAD::Controller::deleteEmptyLayers</a></div><div class="ttdeci">void deleteEmptyLayers()</div><div class="ttdoc">delete all empty layers from the model </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01042">controller.cpp:1042</a></div></div>
<div class="ttc" id="structShipCAD_1_1IntersectionFinder_html"><div class="ttname"><a href="structShipCAD_1_1IntersectionFinder.html">ShipCAD::IntersectionFinder</a></div><div class="ttdoc">find intersections in an IntersectionVector </div><div class="ttdef"><b>Definition:</b> <a href="intersection_8h_source.html#l00156">intersection.h:156</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a3f722582d47e27a34deb467156056f3b"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a3f722582d47e27a34deb467156056f3b">ShipCAD::Controller::showInteriorEdges</a></div><div class="ttdeci">void showInteriorEdges(bool val)</div><div class="ttdoc">interior edges </div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l01635">controller.cpp:1635</a></div></div>
<div class="ttc" id="classShipCAD_1_1Controller_html_a2a54e6215052d6a06d1119a84d2f7d85"><div class="ttname"><a href="classShipCAD_1_1Controller.html#a2a54e6215052d6a06d1119a84d2f7d85">ShipCAD::Controller::export3DPolylinesDXF</a></div><div class="ttdeci">void export3DPolylinesDXF()</div><div class="ttdef"><b>Definition:</b> <a href="controller_8cpp_source.html#l00592">controller.cpp:592</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Feb 25 2018 15:35:59 for ShipCAD by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
